What is format for defining a structure?
No Answer is Posted For this Question
Be the First to Post Answer
Explain explicit container.
What is command line arguments in C++? What are its uses? Where we have to use this?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
Explain working of printf?
What is a reference in C++?
What is the exit function in c++?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
How do you generate a random number in c++?
Can we declare destructor as static? Explain?
What are destructors?
How does list r; differs from list r();?
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.