Computers and Technology

Consider the following code snippet. assuming that the user inputs 75 as the age, what is the output? int age = 0; scanner in = new scanner(system. in); system. out. print(" enter your age: "); age = in. nextint(); if (age < 10) { system. out. print("child "); } if (age < 30) { system. out. print("young adult "); } if (age < 70) { system. out. print("old "); } if (age < 100) { system. out. print("impressively old "); }

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:30, babyface1686
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, bbgirl8638
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
image
Computers and Technology, 23.06.2019 23:30, cam961
What are "open-loop" and "closed-loop" systems
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, Amrinderkhattra
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
Do you know the correct answer?
Consider the following code snippet. assuming that the user inputs 75 as the age, what is the output...

Questions in other subjects:

Konu
Mathematics, 23.03.2021 06:50
Konu
English, 23.03.2021 06:50
Konu
Mathematics, 23.03.2021 06:50
Konu
Mathematics, 23.03.2021 06:50