Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Write one additional program which itself contains two loops. You will have to decide which loop type to use and how to write each one. Both loops will have a loop body that consists of a computation and an output.  Loop 1: sum up all of the values from 1 to 10, outputting the sum as you go. For instance, it will output 1, 3 (1+2), 6 (1+2+3), 10 (1+2+3+4), etc (on separate lines).  Loop 2: sum up all of the values starting at 1 and going until the sum is greater than 100, again outputting results as you go. You will have to decide what type of loops to use and how to write each, and what other variables and instructions are needed in your program.

Write one additional program which itself contains two loops. You will have to decide which loop type to use and

how to write each one. Both loops will have a loop body that consists of a computation and an output.

 Loop 1: sum up all of the values from 1 to 10, outputting the sum as you go. For instance, it will output 1, 3 (1+2), 6 (1+2+3), 10 (1+2+3+4), etc (on separate lines).

 Loop 2: sum up all of the values starting at 1 and going until the sum is greater than 100, again outputting results as you go.

You will have to decide what type of loops to use and how to write each, and what other variables and instructions are needed in your program.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"