subject

Write a program that: - asks a user for an int between 1 and 20 - checks that the number is between 1 and 20, and if not, repeatedly asks the user to enter a correct number - adds all the numbers from 1 to the number entered. E. g. if the user enters 10, it should add 1 2 3 4... 10 - prints out the total

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
You know the right answer?
Write a program that: - asks a user for an int between 1 and 20 - checks that the number is between...
Questions
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Geography, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
History, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Health, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
Biology, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
question
English, 12.09.2020 01:01
question
Mathematics, 12.09.2020 01:01
Questions on the website: 13722362