Answer the ff looping problems- WHILE LOOP 1.     Allow the user to input integer values and sum up all the inputted values. The loop will be terminated if the user input ZERO (0). 2.     Interest is compounded annually at 10% by a certain bank. Create a program that will allow input an amount and a number of years and output how much the original amount will be worth after the period. Each transaction is tagged as customer #(Maximum of 10 customers only

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 27PE
icon
Related questions
Question

Answer the ff looping problems- WHILE LOOP

1.     Allow the user to input integer values and sum up all the inputted values. The loop will be terminated if the user input ZERO (0).

2.     Interest is compounded annually at 10% by a certain bank. Create a program that will allow input an amount and a number of years and output how much the original amount will be worth after the period. Each transaction is tagged as customer #(Maximum of 10 customers only).

Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Knowledge Booster
Types of Loop
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr