Question: Write a C++ code that ask the user to enter the width and the height of a rectangle then draw the rectangle using the sign

Write a C++ code that ask the user to enter the width and the height of a rectangle then draw the rectangle using the sign (-). The output of the program should be as following:

the outpou:

Write a C++ code that ask the user to enter the width

input Enter the width of the rectangle>>10 Enter the height of the rectangle>>5 input Enter the width of the rectangle>>5 Enter the height of the rectangle>>10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!