If you know the balance and the annual percentage interest rate, you can compute the interest on
Question:
If you know the balance and the annual percentage interest rate, you can compute the interest on the next monthly payment using the following formula:
interest = balance * (annualInterestRate/1200)
Write a program that reads the balance and the annual percentage interest rate and displays the interest for the next month. Here is a sample run:
Enter balance and interest rate (e.g., 3 for 3%): 1000 3.5
The interest is 2.91667
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 90% (11 reviews)
Output Output Enter balance and interest rate eg 3 for 3 1000 35 The interest is ...View the full answer
Answered By
Salmon ouma
I am a graduate of Maseno University, I graduated with a second class honors upper division in Business administration. I have assisted many students with their academic work during my years of tutoring. That has helped me build my experience as an academic writer. I am happy to tell you that many students have benefited from my work as a writer since my work is perfect, precise, and always submitted in due time. I am able to work under very minimal or no supervision at all and be able to beat deadlines.
I have high knowledge of essay writing skills. I am also well conversant with formatting styles such as Harvard, APA, MLA, and Chicago. All that combined with my knowledge in methods of data analysis such as regression analysis, hypothesis analysis, inductive approach, and deductive approach have enabled me to assist several college and university students across the world with their academic work such as essays, thesis writing, term paper, research project, and dissertation. I have managed to help students get their work done in good time due to my dedication to writing.
5.00+
4+ Reviews
16+ Question Solved
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Question Posted:
Students also viewed these Computer science questions
-
Use the Account class created in Programming Exercise 9.7 to simulate an ATM machine. Create ten accounts in an array with id 0, 1, . . . , 9, and initial balance $100. The system prompts the user to...
-
A linear equation can be solved using Cramer?s rule given in Programming Exercise 1.13. Write a program that prompts the user to enter a, b, c, d, e, and f and displays the result. If ad - bc is 0,...
-
Write a program that prompts the user to enter the month and year and displays the number of days in the month. For example, if the user entered month 2 and year 2012, the program should display that...
-
Provide the appropriate statute for your answer (format style - IRAC - Issue, Rule, Application and Conclusion.) what are your thought? Problem Scenario- Earnest is married to Janice. Earnest and...
-
Which graph in Figure 16 has the following property: For all x, the average rate of change over [0, x] is greater than the instantaneous rate of change at x. Explain. FIGURE 16
-
A picture is 5 inches in width by 8 inches long. It is enlarged so that height is 20 inches. What is the new width?
-
You need to understand the approach described in question 3 in More Genetic TIPS before answering this question. A muscle-specific gene was cloned and then subjected to promoter bashing. As shown...
-
Transactions for Mehta Company for the month of May are presented below. Prepare journal entries for each of these transactions. (You may omit explanations.) May 1 B.D. Mehta invests $4,000 cash in...
-
In the diagram shown to the right, there are two similar triangles. Find the unknown measurement. C= (Simplify your answer.) 90 40 50
-
The 99% confidence interval for a population mean is (207, 227). For a sample data the sample mean is 217 and the population standard deviation value is 46. Compute the sample size necessary to...
-
Write a program that prompts the user to enter three points (x1, y1), (x2, y2), (x3, y3) of a triangle and displays its area. The formula for computing the area of a triangle is Here is a sample run:...
-
Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula: futureInvestmentValue =...
-
In divisional income statements prepared for Mills Construction Company, the Payroll Department costs are charged back to user divisions on the basis of the number of payroll checks, and the...
-
Calculate y' and y" for the equation y - x = 2. Express y' in terms of x and y. (Use symbolic notation and fractions where needed.) y' = y" Express y" in terms of x and y. (Use symbolic notation and...
-
4) Find the antiderivative of: [(8x-9x + 4) dx
-
Find f'(x) if f(x) = f'(x) = 4x + 6 x +7
-
Find the gradient of the function at the given point. w = x tan(y + z), (5,4,-2) Vw(5, 4, -2) = =
-
f For the functions f(x)=3-x and g(x)=x + 2x63, find f+g, f-g, fg, and g function. (f+g)(x) = (Simplify your answer.) Determine the domain for each
-
Preferred Homes Ltd., a private company reporting under ASPE, reported the following for the year ended September 30, 2014: Additional information: 1. Equipment was purchased for $20,000. 2. Land was...
-
Suppose that the electrical potential at the point (x, y, z) is E(x, y, z) = x + y - 2z. What is the direction of the acceleration at the point (1,3,2)?
-
Write a program that simulates a traffic light. The program lets the user select one of three lights: red, yellow, or green. When a radio button is selected, the light is turned on. Only one light...
-
Revise the preceding exercise to display the walk step by step in an animation, as shown in Figures 15.39c and d. 100 (c) (d)
-
A self-avoiding walk in a lattice is a path from one point to another that does not visit the same point twice. Self-avoiding walks have applications in physics, chemistry, and mathematics. They can...
-
Evaluate the following limits. 3. lim f(x) if f(x) = 3 5x 2x, if x 1 4 (5 points) -3 1 + - 4x, if x < 1 x3 1 X - 1
-
Here are the height of 50 students who participated in a statistics survey: 242 23 34 60 45 66 77 23 34 45 674 54 52 54 65 76 89 89 76 56 76 34 43 33 47 56 58 266 16600 42 15 67 45 76 56 34 39 92 72...
-
Show that if f: [a, b] R is differentiable on (a, b) and f 0, then c = (a, b) such that f'(c) f(c) = + a-c 1 b-c Hint: Consider the function h(x) = f(x)(x - a)(x - b).
Study smarter with the SolutionInn App