Repetition Statements
In this homework, you will design a program to perform the following task:
Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100.
Before attempting this exercise, be sure you have completed all the course module readings, participated in the weekly conferences, and thoroughly understand the examples provided in the Week 4, 5 Hands-on labs.
There are 4 components of your submission including:
•Program Description- A detailed, clear description of the program you are building.
•Analysis – You need to write a program that would calculate the results for the multiplication table up from 1 to 100. (For example, 1X1, 1X2, 1X3 … 1X10, 2X1, 2X2 …. 10X2 … 10×10). Your program should print the output for each step and output a new line after 10 items. So the example output would be something like this. Notice a new line appears after 10 steps:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 … 20
…
10 20 30 … 100
To write the new lines you can just use code similar to : write “new line”. Hint: You will probably use a nested repetition loop.
Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed.
•Test plan – Prepare any input data (Test data) along with the expected output for testing your program (Note: Programs may not always have both input and output data. Just provide test cases for your application). Your test data can be presented in the form of a table as was shown in assignment 1.
•Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the assignment. Include header and step comments in your pseudocode, using a similar approach as the example provided in Week 5 Hands-on Lab.
All of these components should be placed in word document for submission.
Submission requirements:
Your completed assignment should be saved as Word document