subject

This is the assignment

Write a program that:

stores your name in one variable called name
stores your age in another variable called age
prints a one-line greeting that includes your name and your age.
Your program should output something like this:

Hi! My name is Arthur and I am 62 years old.
Hint: Do not get user input for the values of name and age but instead simply save these values inside your program as static variables, or variables that do not change value.

What should my code be?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
What result from the passage of this amendment
Answers: 1
question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
You know the right answer?
This is the assignment

Write a program that:

stores your name in one variabl...
Questions
question
Mathematics, 06.12.2021 19:10
question
English, 06.12.2021 19:10
question
English, 06.12.2021 19:10
question
Mathematics, 06.12.2021 19:10
Questions on the website: 13722363