Utilization of Looping structures and process repetition is an efficient way to generate tables of data, especially when the data is related. Many of you may remember learning multiplication using a multiplication table or flash cards. There is an AP for that now, but that is a relatively recent tool.
The purpose of this exercise is to challenge your knowledge of repetition statements and apply some basic looping techniques to generate a multiplication table based on the input of the user.
Using your textbook, notes and personal research material, write a program using the C Programming language that will display a multiplication table based on the input of the user and the specification provided. NOTE: Your source code/program should be well documented as outlined in Handout #2. It MUST contain a LOOPING/REPETITION in addition to a looping mechanism for input error checking.
1. User Input:
a. Size of the table based on how many digits or size of the table, not to exceed a multiplication factor of 12.
b. Provide a looping structure such that if an invalid input is entered, an error message is generated and reports the user for a valid input, and prompts for correct input
c. Following the input, the display screen should clear before rendering the output.
2. Output:
a. An easy to read, aligned table of the size specified by the user input. (See examples) Note the alignment of the numbers.
b. The table must have a top and bottom line of stars that complement the size of the table.
c. The also needs to be a title on the display that will adjust as to appear in the centered below the bottom line of stars. (See examples)
Example 1: see image.
Example 2: see image.
1. Develop and test the program such that it:
a. Generates the desired output screen with the top and bottom stars and title, with your name.