Question: Write a for loop to sum all the integers between 1 and 1 0 0 . In 1 7 8 4 , Carl Gauss solved
Write a for loop to sum all the integers between and
In Carl Gauss solved problem # in seconds by noticing that:
he was years old at the time.
Write a for loop to compute the sum in # using approximately half the number of executions of the for loop in #
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
