subject
Engineering, 22.02.2020 06:07 mazielynn84

Your assignment is to write a menu driven program. The menu will be responded to using a switch statement. The menu options (cases) will be as follows (You should give them more succinct labels in your program): Read the user’s first name and echo it back out 20 times. Read the user’s age and double it and display the age and the doubled age. Read the user's age and output one of the following statements: Since you are xx years old, you are a teenager Since you are xx years old, you are NOT a teenager (***of course xx displays the user's age) Read a single integer between 3 and 50 from the user. Create a triangle of X’s with the as many rows as the value of the user's input. The triangle needs to be displayed on the screen and in a text document named triangle. txt.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
question
Engineering, 04.07.2019 18:20
Find the minimum film thickness for a journal bearing with the data below. shaft diameter, d-50 mm, clearance ratio, cdratio? 0.001, shaft speed, n 2000 rpm; bearing length. i 200 mm; eccentricity ration, ? -0.55. ( note, cdratio-ca/d) the minimum film thickness is um
Answers: 2
question
Engineering, 04.07.2019 19:10
The sum of the normal stresses does not change as the stress state rotates through an angle. a)-trune b)- false
Answers: 2
question
Engineering, 04.07.2019 19:20
Brief discuss how the presence of dislocations in crystal structures can be an advantage and a disadvantage to engineer and designers.
Answers: 3
You know the right answer?
Your assignment is to write a menu driven program. The menu will be responded to using a switch stat...
Questions
question
Chemistry, 15.12.2020 22:50
question
Chemistry, 15.12.2020 22:50
question
Mathematics, 15.12.2020 22:50
Questions on the website: 13722361