Question: Write the statement loops in ONE program- The program will contatin a loop statement #20 IPO Chart & Algorithm given to students to assist with

Write the statement loops in ONE program- The program will contatin a loop statement

#20 IPO Chart & Algorithm given to students to assist with coding

Example:

X * 9 = Y

(X is the multiplicand, 9 is the multiplier, and Y is the product)

--------------------------------------------------

Input: multiplicand

Processing: multiplier (Counter: 1 to 9), product

Output: Multiplication table ( multiplicand * multiplier = product)

-----------------

Algorithm:

1. Enter the first multiplicand

2. Repeat While (the multiplicand is greater than or equal to 0)

repeat for (multiplier from 1 to 9 in increments of 1)

calculate the product by multiplying the multiplicand by the multiplier

display the multiplicand, multiplier, and product then move the cursor to the next line

end repeat

Display a blank line between tables

Enter next multiplicand

End Repeat

 Write the statement loops in ONE program- The program will contatin

Create a program that displays a multiplication table similar to the one shown in Figure 7-51. If necessary, create a new project named Introductory20 Project, and save it in the Cpp8|Chap07 folder. Enter your C++ instructions into a source file named Introductory20.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Save, run, and test the program 20. PY Enter the multiplicand:5 Multiplication table for the number 5 5 1 5 5 3 15 5 525 5 630 5 7 35 5 8- 40 5 9 45 5 1050 Press any key to continue . .. _ Figure 7-51

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!