Question: Computational Thought Process: If we are considering a symmetric triangle with 20 rows (n=20), use the equation: {[(n x 2) - 1] [(c x 2)

Computational Thought Process:

If we are considering a symmetric triangle with 20 rows (n=20), use the equation:

{[(n x 2) - 1] [(c x 2) - 1]}/2

to find the number of blank spaces before we start printing the asterisks for each of the following rows (row number = c)

Example: Row 7 (c=7) 7 --> {[(n x 2) - 1] [(c x 2) - 1]}/2 = {[(20x2)-1]-[(7x2)-1]}/2 = {[40-1]-[14-1]}/2 = {39-13}/2 = 26/2 = 13

Write only numerical values:

8?

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!