subject

Design and write a program to calculate the sum of integers in a given range. The formula for calculating this sum is: sum = (n/2) (2xa+(n-1)d) where n is the number of integers to be added, a is the first number, d is the difference between each number. Your program should get these values from the user and display the results.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:00
In microsoft word, you can change the look of paragraphs by:
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you havenโ€™t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
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 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
You know the right answer?
Design and write a program to calculate the sum of integers in a given range. The formula for calcul...
Questions
Questions on the website: 13722363