subject

You must code this in c++. Write a program that prompts users to enter:

o A character to use (any character besides *)
o The width of the display
o The height of the display

to produce an E shape. The middle horizontal line must print at line (height+1)/2. Validate user input to only be positive values and height must be at least 5 and width 2. Any invalid input must loop until a valid value is entered.

This is an example for width of 10 and height of 9


*
*
*

*
*
*


You must use separate functions to display the vertical and the horizontal lines.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Which type of computing device is best suited to having a digital pen as an input device? a. personal computer b. personal digital assistant c. smart television d. laptop e. mobile phone
Answers: 3
question
Computers and Technology, 22.06.2019 04:30
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
question
Computers and Technology, 22.06.2019 11:10
The total cost of textbooks for the term was collected from 36 students. create a histogram for this data. $140 $160 $160 $165 $180 $220 $235 $240 $250 $260 $280 $285 $285 $285 $290 $300 $300 $305 $310 $310 $315 $315 $320 $320 $330 $340 $345 $350 $355 $360 $360 $380 $395 $420 $460 $460
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
You know the right answer?
You must code this in c++. Write a program that prompts users to enter:

o A character...
Questions
question
Mathematics, 05.02.2021 03:20
question
Mathematics, 05.02.2021 03:20
question
Social Studies, 05.02.2021 03:20
question
History, 05.02.2021 03:20
question
Business, 05.02.2021 03:20