When you deposit money in a savings account at a bank, the bank pays you interest on that money. If the bank computes the interest and adds it to your account once every year, the bank compounds interest annually. If you deposit p dollars, the money in your account after n years at interest rate r is : p(1+r)n Create a WCF service for that question, write a C# program that asks the user for the initial amount, the interest rate and the number of years. and then displays the balance after that many years. Do not hard code any variable values. The client will be prompted for any required variable values.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 7PP
icon
Related questions
Question

2

When you deposit money in a savings account at a bank, the bank pays you interest on that money. If the bank computes the interest and adds it to your account once every year, the bank compounds interest annually. If you deposit p dollars, the money in your account after n years at interest rate r is :

p(1+r)n


Create a WCF service for that question, write a C# program that asks the user for the initial amount, the interest rate and the number of years. and then displays the balance after that many years.

Do not hard code any variable values. The client will be prompted for any required variable values.

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Datatypes
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++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr