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, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 07:00
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
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, 17.02.2021 22:50
question
Mathematics, 17.02.2021 22:50
question
Mathematics, 17.02.2021 22:50
Questions on the website: 13722367