Amount deposited into the account during the month

Assignment Help Basic Computer Science
Reference no: EM131682247

(Program analysis worksheet)

Write a program that calculates the balance of a savings account at the end of a period of time. It should ask the user for the annual interest rate, the starting balance, and  the number of months that have passed since the account was established. A loop should then iterate once for every month, performing the following:

1) Ask the user for the amount deposited into the account during the month. This amount should be added to the balance.

2) Ask the user for the amount withdrawn from the account during the month. This amount should be subtracted from the balance.

3) Calculate the monthly interest. The monthly interest rate is the annual interest rate divided by 12. Multiply the monthly interest rate by the balance and add the result to the balance.

After the last iteration, the program should display the ending balance, the total amount of deposits, the total amount of withdrawals, and the total interest eared.

Reference no: EM131682247

Questions Cloud

How much money will martin win : Martin decides to try out this strategy. However, he only has $31, so he may end up walking away bankrupt rather than continuing to double his bet.
Regional hospital implement a major informatics : You have been brought in to help a regional hospital implement a major informatics upgrade that promises to significantly improve efficiency and patient
Analyzes the basic legal social and economic environment : Analyzes the basic legal, social, and economic environment in which the organizations operate. Identifies and explains the strong points of the managers.
Success or the causes of problems : Dig more deeply into your experiences and point to what you believe were the most critical contributors
Amount deposited into the account during the month : 1) Ask the user for the amount deposited into the account during the month. This amount should be added to the balance.
Discuss tremendous diversity of ecosystems : Write an essay of 1500 words by exploring Ocean County, New Jersey's tremendous diversity of ecosystems
Prove that the pmf of x satisfies the symmetry property : Let X be a discrete r.v. with support n, n + 1,..., 0,...,n 1, n for some positive integer n. Suppose that the PMF of X satisfies the symmetry property.
Create a vision and a business model for the new division : Create a vision and a business model for this new division that clearly demonstrates your decision on what you want your business to become in the future.
Discussing sql injection : Discussing SQL Injection. Be sure to include ways to prevent this type of attack. Use at least two sources outside your text and course material for this paper

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd