Question: For our week 1 assignment, please write a financial program using C++ that defines a class named Customer that holds private fields for a customer

For our week 1 assignment, please write a "financial" program using C++ that defines a class named Customer that holds private fields for a customer ID number, last name, first name, and credit limit. Include four public functions with each one setting one of the four fields (ID, last name, first name, credit limit). Do not allow any credit limit over $10,000. Please include a public function that displays a Customers data. Write a main() function in which you declare a Customer, set the Customers fields, and display the results.

Compile this application using Visual Studio and run it to make sure that it is error free.

This is for C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!