# Problem

• 08-16-2009
gtfoh143
Problem
hi can anyway help me with this,help me make a program iam noob with tc ty!
this:
A bicycle salesperson is offered a choice of wage plans: (1) a straight salary of \$300 per week; (2) \$3.50 per hour for 40 hours plus a 10% commission on sales; (3) a straight 15% commission on sales with no other salary. Write a program that takes as input the salespersons expected weekly sales and outputs the wages paid under each plan as well as announcing the best-paying plan.

Sample Layout 1

Plan [1]: A straight salary of \$300
Plan [2]: \$3.50 per hour for 40 hrs plus 10% commission on sales
Plan [3]: A straight 15% commission on sales with no other salary

Input weekly sales : \$500

Your salary in plan 1 is \$300
Your salary in plan 2 is \$190
Your salary in plan 1 is \$75

The best paying plan is PLAN 1

Sample Layout 2

Plan [1]: A straight salary of \$300
Plan [2]: \$3.50 per hour for 40 hrs plus 10% commission on sales
Plan [3]: A straight15% commission on sales with no other salary

Input weekly sales : \$3000

Your salary in plan 1 is \$300
Your salary in plan 2 is \$440
Your salary in plan 3 is \$450

The best paying plan is PLAN 3

MPM10

Write a program to compute the interest due, total amount due, and the minimum payment for a revolving credit account. The program accepts the account balance as input and then adds on the interest to get the total amount due. The rate schedules are as follows: The interest is 1.5% on the first \$1,000 and 1% on any amount over that. The minimum payment is the total amount due if that amount is \$10 or less; otherwise, it is \$10 or 10% of the total amount owed, whichever is larger.

Sample layout 1

Enter account balance: \$5000
Interest: \$55
Total amount Due: \$5055

The minimum payment: \$505.50

Sample layout

Enter account balance: \$8
Interest: \$0.12
Total amount Due: \$8.12

The minimum payment: \$8.12
MPM11

Writes a program that reads in the radius of a circle and then outputs one of the following depending on what the user requests; circumference of the circle, area of the circle; or diameter of the circle.
Formula: A = ∏ r 2
D = 2r
C = 2 ∏ r

Sample Layout 1

Enter radius of Circle: 5

User Request
[ 1 ] : Compute the Area
[ 2 ] : Compute the Diameter
[ 3 ] : Compute the circumference
Enter your choice: 1

The area is 78.54

Sample Layout 2

Enter radius of Circle: 5

User Request
[ 1 ] : Compute the Area
[ 2 ] : Compute the Diameter
[ 3 ] : Compute the circumference
Enter your choice: 2

The DIAMETER is 10.00
.Ty for any help'
• 08-16-2009
Salem
• 08-18-2009
gtfoh143
ok,but can u give me a concrete example?even a lil will help tnx!
• 08-18-2009
Elkvis
Quote:

Originally Posted by gtfoh143
ok,but can u give me a concrete example?even a lil will help tnx!

show us what you've tried, and then we'll be happy to help you where you need it. at this point the only help you're entitled to is how to ask questions the smart way
• 08-18-2009
Salem

cout << "Enter Salary" ;
cin >> salary;
cout << "You entered " << salary;

Add a few lines, compile, test, and repeat.
• 08-18-2009
Sharke
Quote:

iam noob with tc ty!
I would suggest classes in basic English first.
• 08-18-2009
gtfoh143
Quote:

Originally Posted by Sharke
I would suggest classes in basic English first.

oh really! maybe i would suggest you to shut the ........ up ok! i don't need your opinion!
you're foetid person.
• 08-18-2009
Salem
> i don't need your opinion!
If you want to remain on this forum, you need to wise up and respect the local rules.