Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS102 Computer Programming Fundamentals For Business Bonaparte Intro Set 2 Programming Assignment ( For multiple sets of input data, run the program once for each

CIS102 Computer Programming Fundamentals For Business

Bonaparte

Intro Set 2 Programming Assignment

(For multiple sets of input data, run the program once for each set of input data; do not write the code to process all of the data at once)

Develop a program that will allow the user to enter a customers name, a customers retail stores credit card account balance on February 1 2019, an account monthly repayment rate and an account interest charges rate. Assuming that no further credit purchases or payments are applied to the account for the months of February, March and April, develop an application that will calculate and display the account balances at the beginning of March and April and the payment that will be due for the months of February, March and April. Interest charges are calculated by multiplying the account balance by the interest charges rate. The interest charges rate is an annual rate so it must be divided by 12 to calculate the monthly interest charges. The account balance at the end of the month is equal to the balance at the beginning of the month plus interest charges for the month. The payment due for the month is calculated after finance (interest) charges on the account have been assessed. The payment due for the month is calculated by multiplying the account balance at the end of the month by the repayment rate. The repayment rate is a monthly rate and therefore does not have to be adjusted.

Output Format

Payment due at the end of February is $-----

Account balance at the beginning of March is $-----

Payment due at the end of March is $-----

Account balance at the beginning of April is $-----

Payment due at the end of April is $-----

Run the program with the following data:

Customer February 1 Repayment Interest Charges

Account Balance Rate Rate

Mary Anderson $8,460.00 6.5% 16%

Jenny Bombay $4,800.00 8.4% 18%

Submit the assignment in accordance with the previously outlined submission instructions.

The due date for this assignment will be announced in class.

Additional Intro Set 2 Programs

Distance Traveled

Assuming there are no accidents or delays, the distance that a car travels down the interstate can be calculated with the following formula:

Distance = Speed Time

Develop a program that will allow the user to enter the speed a car is traveling in miles per hour and the number of hours the car has been driven on the interstate. The program must calculate and display the distance the car would have traveled over the number of hours it has been driven.

Run the program with the following data:

Speed Hours Driven

90mph 3

75mph 5

Sales Tax

Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 5 percent and the county sales tax is 2.5 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax).

Hint: Use the value 0.025 to represent 2.5 percent, and 0.05 to represent 5 percent.

Run the program with the following purchase amounts; $460, $240

Miles-per-Gallon

A car's miles-per-gallon (MPG) can be calculated with the following formula:

MPG = Miles Driven Gallons Of Gas Used

Write a program that asks the user for the number of miles driven and the gallons of gas used. It should calculate the car's MPG and display the result.

Run the program with the following data:

Miles driven 360

Gallons of gas used 24

  • All programs require interactive data entry and output should be in sentence format.
  • Remember to include comments and spacing for each section of your program as illustrated in the programs previously developed.

  • Remember to adhere to the submission instructions that were previously provided.

CIS102 Computer Programming Fundamentals For Business

Bonaparte

Intro Set 2 Programming Assignment

Intro Set 2 Specifications Analysis

Output Requirements

  1. Payment due for February
  2. Payment due for March
  3. Payment due for April
  4. Account balance at the beginning of March
  5. Account balance at the beginning of April

Input Data

  1. Customer
  2. Account balance at the beginning of February
  3. Account interest charges rate
  4. Account minimum monthly repayment rate

Partial Pseudocode To Assist With Minor 1

  1. Get the input data.
  2. Calculate the interest charges for February
  3. Calculate the account balance at the end of February (account balance at the end of February will be equal to the account balance at the beginning of February + the interest charges for the month of February)
  4. Calculate the payment due for the month of February
  5. The account balance at the end of February will be equal to the account balance at the beginning of March (Copy this amount to the variable representing the March account beginning balance)
  6. Calculate the interest charges for March
  7. Calculate the account balance at the end of March
  8. .

Analyze the above pseudocode. We will complete the pseudocode in class and after completing it you will begin developing the program code

Mary Anderson Jenny Bombay
Interest Rate 16.0% 18.0%
Repayment Rate 6.5% 8.4%
Feb 1 Account Balance $8,460.00 $4,800.00
Feb Interest Chargres $112.80 $72.00
Feb 28 Account Balance $8,572.80 $4,872.00
Feb Payment Due $557.23 $409.25
March 1 Account Balance $8,572.80 $4,872.00
March Interest Charges $114.30 $73.08
March 31 Account Balance $8,687.10 $4,945.08
March Payment Due $564.66 $415.39
April 1 Account Balance $8,687.10 $4,945.08
April Interest Charges $115.83 $74.18
April 30 Account Balance $8,802.93 $5,019.26
April Payment Due $572.19 $421.62

i need at least one intro set

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions