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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are vtable and vptr?

0 Answers  


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

0 Answers  


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

0 Answers  


What do you mean by vtable and vptr in c++?

0 Answers  


Is c++ used anymore?

0 Answers  






Give 10 points of differences between C & C++.

0 Answers   HCL,


what Is DCS ? what i will get benefit when i did?

0 Answers  


How do you master coding?

0 Answers  


Can a program run without main?

0 Answers  


Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


What is difference between array and vector in c++?

0 Answers  


What is abstraction c++?

0 Answers  


Categories