what is a class? Explain with an example.
No Answer is Posted For this Question
Be the First to Post Answer
What is endianness?
What are the advantages of using a pointer?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
How do you flush a buffer in c++?
How would you use qsort() function to sort an array of structures?
Do you need a main function in c++?
What are the different types of polymorphism in c++?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What are the restrictions apply to constructors and destructors?
What is a base class?
What are the basics concepts of OOPS?
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.