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
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
question
Engineering, 04.07.2019 18:10
True or false (explain) (110)[111] is a slip system in bcc metals . the {111} family in fcc contains 8 planes. resolved shear stress (rss) in single crystals is just related to the applied stress. critical resolved shear stress (crss) in single crystal metals is direct proportional to the number of defects in the structure
Answers: 2
question
Engineering, 04.07.2019 19:10
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
Agas is compressed from vi 0.3 m, p 1 bar to of v2 0.1 m3, p2--3 bar. pressure and volume are related linearly during the process. for the gas, find the work, in kj.
Answers: 2
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, 05.05.2020 12:55
question
Mathematics, 05.05.2020 12:55
question
Mathematics, 05.05.2020 12:55
question
Mathematics, 05.05.2020 12:55
Questions on the website: 13722363