Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3.A credit card company currently has three member levels,Platinum, Gold, and Silver. Each credit card has a different interest rate: Platinum member: 1% per month

3.A credit card company currently has three member levels,Platinum, Gold, and Silver. Each credit card has a different interest rate:

Platinum member: 1% per month

Gold member: 2% per month

Silver member: 3% per month

If Platinum or Gold level customers make a late payment, then their interest rate for the month doubles. For example, if a Platinum member is late, then his interest rate increases from 1% to 2% for the month. If a Silver level customer is late on a payment, their interest rate does not increase. Instead, they are assessed a flat $20 penalty for being late.

For this assignment, you will write a program that calculates the minimum payment, which is 2% of the principle plus any interest and fees. You will also need to calculate the percentage of the payment that goes to the principle. This is given by percentToPrinciple=100*(paymentToPrinciple/totalPayment)

The output should look like the exact same thing below:

Sample Output 1:

Credit Card program by Please enter a customer name: Marge Simpson

Please enter the customer's member level: Silver

Please enter the current balance:500

Was the payment made late?: Yes

====================== Statement ======================

Billing information for Marge Simpson Customer Level: Silver

Credit Card Balance: $500.00

Interest rate for late payment: 3% per month

Late fee: $20.00

Required minimum payment: $45.00

Amount going to principle: $10.00

Percent of minimum payment going to principle: 22.2%

Note: Please answer oit as efficient as possible, because this is the second time me posting the same question. The previous one was done incorrectly and of course use C++!!!. Thank You

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions