1. Create a looping statement that will calculates the sum of the given N. The program should be continuous until the user will input N to stop the program. You can use Y or N /0 or 1. The sum of N is...


Note: Use C language.


1. Create a looping statement that will calculates the sum of the given N. The program<br>should be continuous until the user will input N to stop the program. You can use Y or N<br>/0 or 1. The sum of N is the total from 1 to N; example N=5 (1+2+3+4+5=15).<br>Example:<br>Enter a number : 5<br>The sum of given N(5) is 15<br>YOU WANT TO CONTINUE?( Y or N) Y<br>Enter a number: 4<br>The sum of given N(4) is 10<br>YOU WANT TO CONTINUE?(Y or N) N<br>Thank you for using the program!<br>

Extracted text: 1. Create a looping statement that will calculates the sum of the given N. The program should be continuous until the user will input N to stop the program. You can use Y or N /0 or 1. The sum of N is the total from 1 to N; example N=5 (1+2+3+4+5=15). Example: Enter a number : 5 The sum of given N(5) is 15 YOU WANT TO CONTINUE?( Y or N) Y Enter a number: 4 The sum of given N(4) is 10 YOU WANT TO CONTINUE?(Y or N) N Thank you for using the program!

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here