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, 21.06.2019 15:00
The use of idps sensors and analysis systems can be quite complex. one very common approach is to use an open source software program called running on an open source unix or linux system that can be managed and queried from a desktop computer using a client interface.
Answers: 1
question
Computers and Technology, 22.06.2019 01:50
A.) generate scaffolding to create database for your application. develop all the entities identified in assignment #2. add any additional that may be identified later. b.) add data validation rules to the models that are appropriate for your application and data. c.) create links for each scaffold in the header section. part 2: application updates [30 points] a.) add two additional views to the "home" controller you created in assignment #1. b.) the two views should be named as “privacy" and "". c.) link the two newly created views in the footer section. hint: you would need to modify the “home" controller definition and create “privacy.html.erb" and “.html.erb" files in appropriate locations.
Answers: 3
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
You know the right answer?
The instructions are as follows, " 1. Declare an integer variable named myNewAge.
2. Declare...
Questions
question
Social Studies, 27.02.2020 18:58
question
Mathematics, 27.02.2020 18:59
question
Mathematics, 27.02.2020 18:59
Questions on the website: 13722362