The TidBit Computer Store (Chapter 3, Project 10) has a credit plan for computer purchases. Inputs are the annual interest rate and the purchase price. Monthly payments are 5% of the listed purchase price, minus the down payment, which must be 10% of the purchase price. Write a GUI-based program that displays labeled fields for the inputs and a text area for the output. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items: The month number (beginning with 1) The current total balance owed The interest owed for that month The amount of principal owed for that month The payment for that month The balance remaining after payment The amount of interest for a month is equal to ((balance * rate) / 12) / 100. The amount of principal for a month is equal to the monthly payment minus the interest owed. Your program should include separate classes for the model and the view. The model should include a method that expects the two inputs as arguments and returns a formatted string for output by the GUI.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The TidBit Computer Store (Chapter 3, Project 10) has a credit plan for computer purchases. Inputs are the annual interest rate and the purchase price. Monthly payments are 5% of the listed purchase price, minus the down payment, which must be 10% of the purchase price.

Write a GUI-based program that displays labeled fields for the inputs and a text area for the output. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items:

  • The month number (beginning with 1)
  • The current total balance owed
  • The interest owed for that month
  • The amount of principal owed for that month
  • The payment for that month
  • The balance remaining after payment

The amount of interest for a month is equal to ((balance * rate) / 12) / 100. The amount of principal for a month is equal to the monthly payment minus the interest owed.

Your program should include separate classes for the model and the view. The model should include a method that expects the two inputs as arguments and returns a formatted string for output by the GUI.

Instructions
Interest to
Principal to
Ending
Month Starting
Payment
Рay
рay
Balance
1
4410.00
18.38
202.12
220.50
4207.88
2
4207.88
17.43
202.97
220.50
4004.91
3
4004.91
16.69
203.81
220.50
3801.09
4
3801.09
15.84
204.66
220.50
3596.43
3596.43
14.99
205.51
220.50
3390.92
6
3390.92
14.13
206.37
220.50
3184.55
7
3184.55
13.27
207.23
220.50
2977.32
!!
Transcribed Image Text:Instructions Interest to Principal to Ending Month Starting Payment Рay рay Balance 1 4410.00 18.38 202.12 220.50 4207.88 2 4207.88 17.43 202.97 220.50 4004.91 3 4004.91 16.69 203.81 220.50 3801.09 4 3801.09 15.84 204.66 220.50 3596.43 3596.43 14.99 205.51 220.50 3390.92 6 3390.92 14.13 206.37 220.50 3184.55 7 3184.55 13.27 207.23 220.50 2977.32 !!
CENGAGE MINDTAP
Q Search this course
Programming Exercise 8.7
Instructions
breezypythongu. tidbit.py
| tidbitwithgui.py +
Q Desktop
+
1 ""
2 File: breezypythongui.py
II |||
г
LJ
The TidBit Computer Store
3 Version: 1.1
(Chapter 3, Project 10) has a
4 Copyright 2012, 2013 by Ken Lambert
credit plan for computer
purchases. Inputs are the
6 Resources for easy Python GUIS.
annual interest rate and the
7
8 LICENSE: This is open-source software relea
under the terms of the
9 GPL (http://www.gnu.org/licenses/gpl.html)
purchase price. Monthly
payments are 5% of the listed
purchase price, minus the
capabilities mirror those
10 of BreezyGUI and BreezySwing, open-source
down payment, which must
be 10% of the purchase price.
frameworks for writing GUIS in.
lava
Write a GUI-based program
+
>_ Terminal
that displays labeled fields
for the inputs and a text area
sandbox $ ||
for the output. The program
should display a table, with
appropriate headers, of a
payment schedule for the
lifetime of the loan. Each row
of the table should contain
the following items:
Transcribed Image Text:CENGAGE MINDTAP Q Search this course Programming Exercise 8.7 Instructions breezypythongu. tidbit.py | tidbitwithgui.py + Q Desktop + 1 "" 2 File: breezypythongui.py II ||| г LJ The TidBit Computer Store 3 Version: 1.1 (Chapter 3, Project 10) has a 4 Copyright 2012, 2013 by Ken Lambert credit plan for computer purchases. Inputs are the 6 Resources for easy Python GUIS. annual interest rate and the 7 8 LICENSE: This is open-source software relea under the terms of the 9 GPL (http://www.gnu.org/licenses/gpl.html) purchase price. Monthly payments are 5% of the listed purchase price, minus the capabilities mirror those 10 of BreezyGUI and BreezySwing, open-source down payment, which must be 10% of the purchase price. frameworks for writing GUIS in. lava Write a GUI-based program + >_ Terminal that displays labeled fields for the inputs and a text area sandbox $ || for the output. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Running Time of Application
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education