Write a C++ program based on the following requirements: Write a program to determine whether a person qualifies for a credit card. To qualify, the person must have worked on his or her current job for at least 2 years and make at least RM 35000 per year. Write 2 function after inserting how many years working and total salary per year 1. Function Qualify - should explain that the applicant qualifies for the card and the annual interest rate is 12%. 2. Function No_Qualify – Should explain that the applicant does not qualify for the card and give general explanation why. Copy+paste your program code and submit it with your lab report.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 1TF: Mark the following statements as true or false: a. To use a predefined function in a program, you...
icon
Related questions
Question

Coding in C++

Write a C++ program based on the following requirements:
Write a program to determine whether a person qualifies for a credit card.
To qualify, the person must have worked on his or her current job for at least 2
years and make at least RM 35000 per year.
Write 2 function after inserting how many years working and total salary per year
1. Function Qualify - should explain that the applicant qualifies for the card and
the annual interest rate is 12%.
2. Function No_Qualify – Should explain that the applicant does not qualify for
the card and give general explanation why.
• Copy+paste your program code and submit it with your lab report.
Example of program output:
E CAUsers\Be_ KIM13\Desktop\Lab4\slexe
This program will determine if you qualify
for our credit card
What is your annual salary? 58000
How many years have you worked at your
current jobs? 8
Congratulation!! You are qualify for our credit card
The annual interest rate for our card is 12% per year.
Please cal 1800-800-800 for our service details. Thank you
Process exited with return value 0
Press any key to continue .
Transcribed Image Text:Write a C++ program based on the following requirements: Write a program to determine whether a person qualifies for a credit card. To qualify, the person must have worked on his or her current job for at least 2 years and make at least RM 35000 per year. Write 2 function after inserting how many years working and total salary per year 1. Function Qualify - should explain that the applicant qualifies for the card and the annual interest rate is 12%. 2. Function No_Qualify – Should explain that the applicant does not qualify for the card and give general explanation why. • Copy+paste your program code and submit it with your lab report. Example of program output: E CAUsers\Be_ KIM13\Desktop\Lab4\slexe This program will determine if you qualify for our credit card What is your annual salary? 58000 How many years have you worked at your current jobs? 8 Congratulation!! You are qualify for our credit card The annual interest rate for our card is 12% per year. Please cal 1800-800-800 for our service details. Thank you Process exited with return value 0 Press any key to continue .
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Datatypes
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr