Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

Write down program for a bank account starts out with (user selectable) .Interest is compounded monthly at (user selectable) percent per year or (user selectable percent per month) .every month (user selectable) is withdrawn to meet college. After how many years is account depleted?

More explanation-

- Balance and interest ⇒ double.

- Month and year ⇒ integers.

- Be sure that the program will terminate for any values entered.

- utilize an object-oriented design approach by creating
a UML class diagram to design an object with example variables and methods. Use meaningful names for your class, instance variables, and methods.

- execute a test program. The values for starting balance, interest, and amount withdrawn each month shall be input to the program using an input dialog box or console window, whichever you prefer. Use at least one of the values as a parameter to a constructor in your program to initialize an instance variable.

- use if with while or for.

- After how many years and months the balance will be completed.

- Be sure that program will terminate for any values entered.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9133636

Have any Question?


Related Questions in Computer Engineering

In a survey of 100 people 40 were casual drinkers event d

In a survey of 100 people, 40 were casual drinkers (event D), and 60 did not drink (event D). Of the ones who drank, 6 had minor headaches. Of the non-drinkers, 9 had minor headaches. Let D represent set of surveyed peop ...

C programmingnbsphelp with a program positivec that include

***C PROGRAMMING***  Help with a program positive.c that include the following function: void extract(int *a, int n, int *positive, int *size);  The function should use pointer arithmetic, not subscripting. The extract f ...

Under the trade model with external economies of scale is

Under the trade model with external economies of scale, is it possible for a country to be worse off with trade than it would have been without trade? Justify your answer.

In mergers and acquisitions there is always a

In mergers and acquisitions there is always a pre-acquisition evaluation and post-acquisition evaluation of technology. Evaluation and control should be connected to each other. What should you know before and after the ...

Question suppose you have created a program that creates

Question : Suppose you have created a program that creates instances of different types of cars. Now you are creating a program that keeps track of different types of cars. Choose the abstract classes and concrete classe ...

Inverse elasticityimagine youve started a new pizza

Inverse Elasticity: Imagine you've started a new pizza restaurant. It costs you about $3 to produce a pizza. Last week you sold 450 pizzas for $12 each. This week you raised your price and sold 300 pizzas for $16 each. W ...

Question skyeducation will develop a new branch in the city

Question : SkyEducation will develop a new branch in the city for J2EE programming training. The information is given in the following table. (Ignore the crashing parameters.) Task a b c d e f g Predecessors - - - a b c ...

How does westpac manage foreign exchange risk how does it

How does Westpac manage foreign exchange risk? How does it differ to the other 4 big banks? (ANZ, CBA and NAB)

Tasks1 identify possible actors and use cases involved in

Tasks: 1. Identify possible actors and use cases involved in Personal Trainer's operations. 2. Create an object relationship diagram for the Personal Trainer information system. 3. Create a use case diagram for the syste ...

Arectangular box without a top has surface area 2500 cm2

A rectangular box without a top has surface area 2500 cm2 . The length x of its base is 18 cm longer that its width. (a) Use MATLAB's polynomial functions to express the volume V of the box in terms of x. (b) Plot V vs x ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As