Description
Problem 5) Develop a program that asks the user to enter a number. If the user enters 1, the program computes and displays the value of S1. If the user enters 2, the program computes and displays the value of S2. If the user enters something else, the program displays the message: “invalid choice”. The following equations define S1 and S2:
S1 = ∑(k=1 to N) k
S2 = ∑(r=1 to N) r + 5r
The user provides the value of N.
Problem 6) Develop a C++ program that continuously prompts the user to enter a positive number until the user enters a negative number to terminate the entry process. When this happens, the program should display the sum of the positive numbers entered by the user. For example, if the user enters 4, 1, 5, 2, 3, the sum computed by the program should be 12 (the negative number is not included in the sum).
Darren Jacob –
Tutor wrote it quickly and effectively. Great solution.
David Presley –
Great quality solution, Done way before time
Judie Hoffman –
Follows the required notes. Right on time. Amazing solution.
Amy Lowe –
Very impressive work and way ahead of time! Thanks!
Mark Dowdle –
Everything was completed on time and met my expectations.
Stephanie Specht –
Thank for your help and service. I really like the work that they did on my paper.