subject

. Write a program that prompts the user for an integer n between 1 and 100. If the number is outside the range, it should keep asking the user for a valid number. The program computes and prints at the end two things:

a. The sum of the numbers from 1 to n.
b. The average of the numbers from 1 to n.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:30
To remove a header or footer from a document you can open the header and footer and manually delete the content true or false
Answers: 1
question
Computers and Technology, 22.06.2019 09:30
Is a string of code written to hurt others by damaging or destroying
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
You know the right answer?
. Write a program that prompts the user for an integer n between 1 and 100. If the number is outside...
Questions
question
Mathematics, 08.02.2021 21:00
question
Social Studies, 08.02.2021 21:00
question
English, 08.02.2021 21:00
question
Mathematics, 08.02.2021 21:00
question
Mathematics, 08.02.2021 21:00
question
Mathematics, 08.02.2021 21:00
question
Mathematics, 08.02.2021 21:00
question
Social Studies, 08.02.2021 21:00