Can non graphic characters be used and processed in C++?
What is the best ide for c++?
What is the use of endl?
What is the function of I/O library in C++ ?
When is the copy constructor called?
What is tellg () in c++?
What are single and multiple inheritances in c++?
What is the difference between a definition and a declaration?
What is the full form of ios?
What is a v-table?
What is c++ good for?
Explain polymorphism?
Where must the declaration of a friend function appear?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What are the different types of polymorphism in c++?