subject

Write a program that asks the user to enter a person’s age. the program should display a message indicating whether the person is an infant, a child, a teenager, or an adult. following are the guidelines: if the person is 1 year old or less, he or she is an infant. if the person is older than 1 year, but younger than 13 years, he or she is a child. if the person is at least 13 years old, but less than 20 years old, he or she is a teenager. if the person is at least 20 years old, he or she is an adult.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
You know the right answer?
Write a program that asks the user to enter a person’s age. the program should display a message ind...
Questions
question
Physics, 27.06.2019 23:30
question
Mathematics, 27.06.2019 23:30
Questions on the website: 13722360