Question: CIA2E1 (5 points-C++ Program 2 3 Exclude any existing source code files that may already be in your IDE project and add a new one.
CIA2E1 (5 points-C++ Program 2 3 Exclude any existing source code files that may already be in your IDE project and add a new one. naming it ClA2E1 main.cpp. Write a program in that file that displays a table of equally spaced 4 character pairs 6 Your program must: 1. prompt the user to enter any positive decimal integer value: 2. read the user input value; 3. display a table containing the number of lines specified by the user input value. The table's first 9 10 line must display the letters A and a, the second line must display the characters whose underlying values (note B.1) are 1 greater than those on the first line, and each successive line must display the characters whose underlying values are 1 greater than those on the previous line. This must continue until the specified number of lines has been displayed display the table in the exact format shown below, including all punctuation and spacing. This 12 13 4. 15 example is the result of a user entry value of 5 D''d' 20 5. not test the user input value's validity in any way: if the user inputs a negative value or a value that will eventually result in a non existent character value just let it happen 3 5 6 Manually re-run your program several times, testing with at least the following 7 input values. You may 6. not name any variable uppercase (to avoid standard library conflicts & a bogus assignment checker warning) 7 have to manually kill your program when you test with -1 0 1 9 10 26 30 -1 0 Explain what happens and why in the following two situations and place these explanations as 1 comments in your "Title Block" 1. 2. The user enters a value of 30 The user enters a value of -1
Step by Step Solution
There are 3 Steps involved in it
To write the C program as specified follow these steps StepbyStep Solution Set Up the Program Create ... View full answer
Get step-by-step solutions from verified subject matter experts
