Question: Programming language is C++ PA 9-2 (25 points) Create a program that allows a user to select the height and width of a rectangle to

Programming language is C++

Programming language is C++ PA 9-2 (25 points) Create a program that

PA 9-2 (25 points) Create a program that allows a user to select the height and width of a rectangle to build with any character. Limit height and width values from 3 to 20. Make sure your program checks for illegal entries and allows a user to keep trying if inputs are out of range. Output just the perimeter of the rectangle as shown below. Check for illegal inputs. D:lCodeBlocks-EP CodeBlocks-EP Marsh2050 bin Debug\Marsh2050.exe I1legal entry. Please enter height value from 3 to 20 5 I1legal entry.Please enter width value from 3 to 20 6 eight (3 to 20): 2 idth (3 to 20): 27 What character would you like for your border? & DCodeBlocks-EP CodeBlocks-EP Marsh20501bin DebuglMarsh2050.exe Enter desired height (3 to 20): 7 Enter desired width (3 to 20):10 what character would you 1ike for your border? $

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!