Write a program that declares an int named year and set it equal to the current year. Then print it out. If it were the year 2016, the output should say: The current year is 2016 Note: You must...


solve using java


Write a program that declares an int named year and set<br>it equal to the current year. Then print it out.<br>If it were the year 2016, the output should say:<br>The current year is 2016<br>Note: You must include the current year and the word “year

Extracted text: Write a program that declares an int named year and set it equal to the current year. Then print it out. If it were the year 2016, the output should say: The current year is 2016 Note: You must include the current year and the word “year" in your output.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here