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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started