I need this in C#.. Please
A large company pays its salespeople on a commission basis. The salespeople receive $200.00 per week plus 9% of their gross sales for the week. For example, a salesperson who sells $5000 worth of merchandise in a wee receives $200.00 plus 9% of $5000.00 for a total of$650.00 You have been supplied with a list of items sold by each salesperson. The value of these items are as follows: Item Value 1 239.99 2 129.75 3 99.95 4 350.89
using System;
public class Test
{
public static void Main()
{
double sales,commission ;
int salesmanNumber;
do
{
Console.WriteLine("Enter the salesman number : ");
salesmanNumber =
Convert.ToInt32(Console.ReadLine());
if(salesmanNumber <1)
break;
Console.WriteLine("Enter the sales in a week : ");
sales =
Convert.ToDouble(Console.ReadLine());
commission =
200.00 + sales*0.09;
Console.WriteLine("Commission on Sales : $"+commission);
}while(salesmanNumber >=
1);
}
}
Output:
Enter the salesman number : 1 Enter the sales in a week : 239.99 Commission on Sales : $221.5991 Enter the salesman number : 2 Enter the sales in a week : 129.75 Commission on Sales : $211.6775 Enter the salesman number : 3 Enter the sales in a week : 99.95 Commission on Sales : $208.9955 Enter the salesman number : 4 Enter the sales in a week : 350.89 Commission on Sales : $231.5801 Enter the salesman number :0
Do ask if any doubt. Please upvote.
I need this in C#.. Please A large company pays its salespeople on a commission basis....
A large company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5000 worth of chemicals in a week reeives $200 plus 9% 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 1 239.99 2 129.75 3 99.95 4...
This Java program must use classes and object-oriented design (OOD) as I'm in a more advanced Java class. (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5000 worth of merchandise in a week receives $200 plus 9% of $5000, or a total of $650. You’ve been supplied with a list of the items sold...
C# Use a one-dimensional array to solve the following problem: A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9% of $5000, or a total of $650. Write an application (using an array of counters) that determines how many of the salespeople earned salaries in each of the following ranges...
This is a C programming HW
Homework details Homework 1A: Problem # 3.18 (5 points) 3.18 (Sales Commission Calculator) One large chemical company pays its salespeople on a com- mission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5000 worth of chemicals in a week receives $200 plus 9% of $5000, or a total of $650. Develop a program that will input each salesperson's gross sales...
Cellular First The sales department of a cellular phone company pays its salespeople $1,500 per month plus 25 percent of each new subscriber's first month's billings. A new subscriber's first-month bill average $80. Sales people work 160 hours a month (four weeks at 40 hours per week). If salespeople work more than 160 hours per month, they receive $12 per hour for hours in excess of 160. Sales leads for the sales department are generated in a variety of ways--...
A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and “time-and-a-half,” i.e. 1.5 times their hourly wage, for overtime hours worked), commission workers (who receive $250 plus 5.7% of their gross weekly sales), or pieceworkers (who receive a fixed amount of money per item for each of the items they produce-each pieceworker in this company works on only one...
Why am I getting the same results with my rand() every time I run my C++ program? I am trying to do this problem: each receive $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9 percent of $ 5000, or a total of $650. Write a program(using an array of counters) that determines how many of the salespeople earned salaries...
answer all numbers and show work please
the next pictures are the lessons guide
Find the commissions on the following sales using the given rates. 3. $5764 at 20% 5. $12,356 at 12% 4. $2598 at 15.5% 6. $3456 at 9% Find the following piecework earnings. 7. 2010 pieces at $0.18 per piece 9. 52 pieces at $3.25 per piece 8. 264 pieces at $1.50 per piece 10. 197 pieces at $1.67 per piece Find the total tips for the...
Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...
Please read the bottom before starting. Debit and credit each transaction: 1/1 beginning balances ⅛ Indiana pays off the beginning salaries payable balance 1/12 Indiana buys 1,000 units of inventory at a per-unit cost of $16 on account, terms net/60 1/19 inian pays off the beginning income taxes payable balance 1/21 indian sells 1,100 units to Sallah co. for $85 each on credit, terms 2/15, net/45 1/31 indiana pays off $30,000 of the beginning accounts payable balance 2/7 indiana pays...