The vice president of a bank who is in charge of credit cards decides to issue a
ID: 3872676 • Letter: T
Question
The vice president of a bank who is in charge of credit cards decides to issue a new type of credit card, the Platinum Card. Design a program to help the bank decide which of its customer it will offer a Platinum Card. The program should prompt the user for the customer's present credit limit and account balance. If the customer has a credit limit of at least S2000.00 and an account balance of $1000.00 or less, issue the customer a Platinum card. If the customer has a credit limit of at least $5000.00 and an account balance of more than $750.00, send a letter to the customer stating that if their balance falls below $750.00 he or she will receive a Platinum Card. If the customer does not fall into either of these categories, take no action. The program should display a message that shows the action that the bank should take: issue a Platinum Card, send a letter, or no action (Ctrl)Explanation / Answer
#include<iostream>
using namespace std;
int main(){
double limit;
double bal;
cout << "Enter the credit limit :" << endl;
cin >> limit;
cout << "Enter the account balance :" << endl;
cin >> bal;
if (limit >= 2000 && bal <= 1000){
cout << "Issue a platinum card ";
}
else if (limit >= 5000 && bal > 750){
cout << "Send a letter ";
}
else {
cout << "No action ";
}
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.