Question: Write a program in Flowgorithm that does the following: Ask the user to enter a number greater than zero. Use a loop to calculate the
Write a program in Flowgorithm that does the following: Ask the user to enter a number greater than zero. Use a loop to calculate the sum of the integers from 1 to the number, e.g. for the input of 4 the sum would be 10, 1+2+3+4 , for the input of 6 the sum would be 21, 1+2+3+4+5+6 Output the calculated sum and then the program ends. Instead of just calculating one sum and ending, the program will now repeatedly prompt the user to enter another number and output the appropriate sum UNTIL the user enters a number that isn't greater than zero. If the user enters a number that isn't greater than zero, don't calculate or display a sum and then the program ends. Complete the program with the addition of keeping a running total to sum of all the sums that are calculated. Output this sum of sums only at the end of the program. So if the user input was 4, 6, 2, 0 the sum of those sums would be 34, i.e. 10+21+3 I have the psuedocode and have made a flowchart but it is not working out for me.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
