Essay Home Work 3

638 Words Oct 25th, 2013 3 Pages
Problem Analysis
In order to calculate and display the results for the multiplication table for values ranging from 1 to 100 we need variables. The variables are: Horizontal Line Number (HLnNumber) that will be the outer loop and Vertical Line Number (VLnNumber) that will be the inner loop this two variable will also be used for a repetition loop to perform the calculation for the multiplication.
For the loop to be able to operate it has to be executed 10 steps. In order to find total calculation for the multiplication we can used the fallowing formula: HLnNumber * VLnNumber = this will be the result of the multiplication. Let say that HLnNumber = 5 and VLnNumber = 7, so this is how the formula would look like: 5*7=30. Also in the loop
…show more content…
Is HLnNumber, VLnNumber <=10?

Write “Please use a real number between 1 to 100”
Input Multiplication
Write “Please use a real number between 1 to 100”
Input Multiplication

No

No

Yes

Yes

Is Multiplication != Int(Multiplication)?
Is Multiplication != Int(Multiplication)? Exit
Exit
Write “Your Total Calculation for you multiplication is:”
Write “Your Total Calculation for you multiplication is:”
Set

Related Documents