subject

Write a program that uses a "for" statement tosum a sequence of integers. assume that the first integer readspecifies the number of values remaining to be entered. yourprogram should read only one value per input statement.
a typical input sequence might be:
"5 100 200 300 400 500"
where the 5 indicates that the subsequent 5 values are tobe summed.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
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 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
Write a program that uses a "for" statement tosum a sequence of integers. assume that the first inte...
Questions
question
Mathematics, 16.11.2020 08:30
question
Mathematics, 16.11.2020 08:30
question
Mathematics, 16.11.2020 08:30
Questions on the website: 13722363