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, 22.06.2019 01:00
Search the web for two examples of digital art that you like. the examples must be from different mediums (example: one digital photo and one computer animation not two computer animations). compose an essay for each example you choose about why the piece appeals to you, and identify the medium used.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 24.06.2019 11:20
Colby works as a shipping clerk for a major package delivery service. some of his daily tasks include tracking shipments and entering orders. which aspect of the information technology cluster would he most likely be trained in? a.networkingb.databasesc.hardwared.software
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
Which of the following "invisible" marks represents an inserted tab?
Answers: 1
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, 08.12.2020 02:20
question
Mathematics, 08.12.2020 02:30
question
Spanish, 08.12.2020 02:30
question
Mathematics, 08.12.2020 02:30
Questions on the website: 13722360