Write a program that calculates the future value of an investment at a Final Exam Fall2014 given interest rate for a specified number of years. The formula for OAB Bank OMuscat Bank the calculation is as follows: Investment Amount FutureValue = Years Annual Interest Rate (Amount * Rate * Year) * 12 Future value The program should design the frame as shown in figure (a). You can use text fields to get interest rate, investment amount, and years. Calculate (a) When the user clicks on one of the radio buttons the text 'OAB Bank' or 'Muscat Bank' is displayed in the text field. Display the future amount in another text field (non- editable) when the user clicks the Calculate button as shown in figure (b). Final Exam Fall2014 „Panel with GridLayout of four rows and two columns O OAB Bank O Muscat Bank OAB Bank Investment Amount 1000 Years Annual Interest Rate 3.25 Future value 117000.0 Panel with FlowLayout Calculate

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter3: Input/output
Section: Chapter Questions
Problem 4PE: 4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and...
icon
Related questions
Question
100%
Programming
1. Write a program that calculates the
future value of an investment at a
Final Exam Fall2014
given interest rate for a specified
number of years. The formula for
the calculation is as follows:
OAB Bank OMuscat Bank
Investment Amount
FutureValue =
Years
Annual Interest Rate
(Amount * Rate
Year)
* 12
Future value
The program should design the
frame as shown in figure (a). You
Calculate
can use text fields to get interest
(a)
rate, investment amount, and years.
When the user clicks on one of the radio buttons the text "OAB Bank' or 'Muscat
Bank' is displayed in the text field. Display the future amount in another text field (non-
editable) when the user clicks the Calculate button as shown in figure (b).
Final Exam Fall2014
Panel with GridLayout of
four rows and two columns
OAB Bank O Muscat Bank OAB Bank
Investment Amount
1000
Years
Annual Interest Rate
3.25
Future value
117000.0
Panel with FlowLayout
Calculate
O Focus
Chp
Transcribed Image Text:1. Write a program that calculates the future value of an investment at a Final Exam Fall2014 given interest rate for a specified number of years. The formula for the calculation is as follows: OAB Bank OMuscat Bank Investment Amount FutureValue = Years Annual Interest Rate (Amount * Rate Year) * 12 Future value The program should design the frame as shown in figure (a). You Calculate can use text fields to get interest (a) rate, investment amount, and years. When the user clicks on one of the radio buttons the text "OAB Bank' or 'Muscat Bank' is displayed in the text field. Display the future amount in another text field (non- editable) when the user clicks the Calculate button as shown in figure (b). Final Exam Fall2014 Panel with GridLayout of four rows and two columns OAB Bank O Muscat Bank OAB Bank Investment Amount 1000 Years Annual Interest Rate 3.25 Future value 117000.0 Panel with FlowLayout Calculate O Focus Chp
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Introduction to computer system
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning