Question: develop a flowchart that creates the following output: 1*1 + 2*2 = 5 2*2 + 3*3 = 13 3*3 + 4*4 = 25 4*4 +

develop a flowchart that creates the following output:

1*1 + 2*2 = 5

2*2 + 3*3 = 13

3*3 + 4*4 = 25

4*4 + 5*5 = 41

.

.

8*8 + 9*9 = 145

9*9 + 10*10 = 181

Hint: Use a pretest loop with a single variable to get the 9 numbers (1 to 9) and do the rest using the same loop variable or one more variable that is linked to the loop variable. That other variable will just be that loop variable + 1 (Notice the relationship between the two variables being added.)

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!