Reference no: EM132175403
Practice for exam need help
Java program that calculates a bank account balance at the end of a year. The input is initial balance, interest rate and number of times the interest is calculated (called compounding period). The formula to calculate the new balance is given below:
new_balance = initial_Balance*(1+interest_rate/n)n
where n is the compounding period: n=1 for annually, n=2 for semiannually, n=4 for quarterly, n=12 for monthly and n=360 for daily.
Your program should contain a program header (program description, your name and date etc), define variables to store initial balance, new balance, interest rate and compounding period. and then use the formula to do the calculation with interest rate 3.5% and n of your choice for initial balance = 1,000, 2,000, 3,000, 4,000, 5,000, 6,000, 7,000, 8,000, 9,000, and 10,000 dollars respectively using a loop. The output should have the following format:
For initial balance of 1,000, the account balance at the end of one year is ???? and the interest is ????
For initial balance of 2,000, the account balance at the end of one year is ???? and the interest is ????
......
For initial balance of 10,000, the account balance at the end of one year is ???? and the interest is ????
where ???? are the result of your program.
Explain the ramifications of its findings
: The Stanford Prison Project and share your thoughts about the experiment. Explain the ramifications of its findings, if valid, in an actual prison environment.
|
What type of memory is used in mobile devices
: What is the IMSI, where is the IMSI store on the mobile device, and what is it used for?
|
Why might supply be unresponsive to changes in price
: You have noticed that the price of tickets to your university's basketball games keeps increasing but the supply of tickets remains the same.
|
What would happen to the price elasticity of supply
: Certain skilled labor, such as hair cutting, requires licensing or certification, which is costly and takes a long time to acquire.
|
Bank account balance at the end of a year
: Java program that calculates a bank account balance at the end of a year. The input is initial balance, interest rate and number of times the interest is calcul
|
What is the reason for the given situation
: Although we could describe both the cross-price elasticity of demand between paper coffee cups and plastic coffee lids and the cross-price elasticity of demand.
|
Explain the effects on geopolitics and environmentalism
: Explain the effects on geopolitics, social unrest, humanitarian response, proliferation, economics, and environmentalism
|
Discussion about the demand for cheese
: In France, where cheese is an important and traditional part of people's meals, people eat about six times as much cheese per person as in the United States.
|
Are the state policies in alignment with the national policy
: Explain the key elements of your representative's crime control policy. Are the state policies in alignment with the national policy?
|