subject

Write the code for a program that takes in an integer from the user and then calculates the sum of all the numbers from 1 to the integer entered by the user. For example,
suppose the user entered the number 4; now, the output should be 10.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:00
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
In a home that has 120 v service, there is an electric appliance that has a resistance of 12 ohms. how much power will this appliance consume? a. 10 w b. 120 w c 1200 w d. 1440 w
Answers: 1
question
Computers and Technology, 25.06.2019 11:30
Sophie is using context clues with her new reading assignments. what results should she expect to see? check all that apply. increased reading speed better memorization skills better ability to take tests increased word recall more reading enjoyment
Answers: 3
You know the right answer?
Write the code for a program that takes in an integer from the user and then calculates the sum of...
Questions
question
Mathematics, 15.11.2020 09:20
question
German, 15.11.2020 09:20
question
Mathematics, 15.11.2020 09:20
question
Mathematics, 15.11.2020 09:20
question
Computers and Technology, 15.11.2020 09:20
question
Mathematics, 15.11.2020 09:20
Questions on the website: 13722363