Computers and Technology
Computers and Technology, 15.11.2019 00:31, frisha

Write a program that asks the user for a positive integer value. the program should use a loop to get the sum of all the integers from 1 up to the number entered. for example, if the user enters 50, the loop will find the sum of 1, 2, 3, 4, 50. input validation: do not accept a negative starting number.

answer
Answers: 2

Similar questions

Do you know the correct answer?
Write a program that asks the user for a positive integer value. the program should use a loop to ge...

Questions in other subjects:

Konu
Mathematics, 17.12.2020 19:50
Konu
Mathematics, 17.12.2020 19:50
Konu
Mathematics, 17.12.2020 19:50