subject

The instructions are as follows, " 1. Declare an integer variable named myNewAge.
2. Declare and initialize an integer variable named myCurrentAge. Initialize this variable with your current age.
3. Declare and initialize an integer variable named currentYear. Initialize this variable with the value of the current year. Use four digits for the year.
Execute the program by clicking the Run button at the bottom of the screen."

I am not sure what I am missing here. I have the variables declared and initialized, I'm not sure why I am getting an error. Any help is appreciated :)


The instructions are as follows, 

1. Declare an integer variable named myNewAge.
2. Declare and

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
You know the right answer?
The instructions are as follows, " 1. Declare an integer variable named myNewAge.
2. Declare...
Questions
question
Mathematics, 18.03.2021 01:00
question
History, 18.03.2021 01:00
question
English, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00