Comparing loans with various interest rates

Assignment Help Programming Languages
Reference no: EM132423719

MITS4002 Object-Oriented Software Development - Victorian Institute of Technology

Activity 1

Project: Comparing loans with various interest rates

Problem Description:

Rewrite Exercise 5.21 to create a user interface, as shown in the following figure. Your program should let the user enter the loan amount and loan period in number of years from a text field and should display the monthly and total payments for each interest rate starting from 1percent to 8 percent, with increments of one-eighth, in a text area.

1646_data.jpg

Design: (Maw a sketch of UI)
Coding: (Paste your code here)
Screen shots:
Submit the following items:
1. Submit this Word document to Moodie (you must submit the program regardless whether it complete or incomplete, correct or incorrect)
2. Fill in self-evaluation:

  • Is the Ul created correctly?
  • Are the values computed correctly?
  • Is the table displayed correctly?

Activity 2

Project: Comparing Loans

Problem Description:

Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Here is a sample run:

<Output>

Loan Amount: 10000

Number of Years: 5

Interest Rate Payment Monthly Payment Total

5.000%

188.71

11322.74

5.125%

189.28

11357.13

5.250%

189.85

11391.59

7.875%

8.000%

<End output>

 

202.17

202.76

 

 

12129.97

12165.83

 

 

 

Use the formulas below to compute monthly payment and total payment.

Analysis: (Describe the problem including input and output in your own words.)

Design: (Describe the major steps for solving the problem.) Coding: (Copy and Paste Source Code here. Format your code using Courier lOpts)

Output screenshot: (Paste your output screenshot here) Testing: (Describe how you test this program)

Submit the following items:

1. This Word document and Submit to Moodie (you must submit the program regardless whether it complete or incomplete, correct or incorrect)

Can you get the first four rows manually? This will help you understand how to compute the numbers mathematically.

2. Can you write a program to produce the first four rows? This will help you see the pattern.

3. Can you generalize it in a loop to produce all the rows?

4. Finally, format the output correctly.

Reference no: EM132423719

Questions Cloud

Examine the significance of correctional staff issues : Examine the significance of correctional staff issues on their ability to do their job. Then choose and analyze two correctional staff issues that you believe.
Magnitude of net force that acts on the vehicle : A 1500- kg vehicle travels at a constant speed of 22 m/s around a circular track that has a radius of 85 m. Determine the magnitude of net force
Research on asian or gulf based women small business owner : Research on Asian or Gulf based Women Small Business owner Assignment help and solutions:- Faculty of Business Assignment Coversheet
Define a juvenile diversion program : Define a juvenile diversion program. Then research and examine at least one juvenile diversion Program that is located in a state of your choice and outline.
Comparing loans with various interest rates : Project - Comparing loans with various interest rates - Write a program that lets the user enter the loan amount and loan period in number of years and displays
What are the final velocities of the particles : A particle with mass m and velocity v=650i-12j+45k collides elastically with another particle of mass 4m and velocity v=23i+13k.
Maximum angle between the rod and the vertical : At what speed must the particle be thrown so that the maximum angle between the rod and the vertical is 90 degrees?
What other groups should be doing within society : Discuss what other groups, individuals, and organizations (possibly including state and local government) should be doing within society to address the policy.
What is the final velocity of the ship : What is the speed when everyone stops at the back? Half the passengers then leap off the back with a speed of 5 m/s. What is the final velocity of the ship?

Reviews

Write a Review

Programming Languages Questions & Answers

  Demonstrate that you can read and understand code

What will the code output when run - What are individualScores, bonusScore, baseScore, and teamScore? What do you think the difference is between the keywords let and var?

  Design and implement a video system for a small business

You are tasked with having to design and implement a video system for a small business. The business is a research firm that has government data.

  Cryptography problem - caesar cipher

Write a class CaesarCipher that gets constructed on the value shift_by. Its encode method encodes a string by shifting letters by shift_by positions, and its decode method decodes an encoded string.

  Write program to establish two savings accounts

Write program which establishes two savings accounts with saver1 having account number 10002 with initial balance of $2,000, and saver2 having account 10003 with initial balance of $3,000.

  Create application that uses two-dimensional arrays

Create the application that uses 2-dimensional arrays to keep track of 5 students' grades, with each student having 3 different classes. You require to ask user to enter grade for each of 5 students.

  Create program which models snake-s behavior

Create a program which models snake's behavior in the given scenario: A snake is moving toward hole. Each time it moves, snake cuts distance between itself and hole by its own body length

  Develop a program that can analyze a piece of software

The question arises as to whether it is possible to develop a program that can analyze a piece of software to determine if it is a virus.

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Write program to assist in monitoring gasoline supply

Write program to assist in monitoring gasoline supply in refinery storage tank. Your program must alert supervisor when supply of gasoline in the tank falls below 10% of the tank's

  Write program to calculate student-s quiz average

Write a program that will calculate a student's quiz average. The program should prompt the user for the number of quizzes and then ask the user for each quiz grade.

  What are application programming interfaces apis recognize

what are application programming interfaces apis? identify several apis that could or do exist in the software

  Create xml document to mark nutrition facts for cookies

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value per serving.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd