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

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
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
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,