Answered step by step
Verified Expert Solution
Question
1 Approved Answer
General Forge and Foundry pays its sales people by commission. If a sales person sells less than Rs.10,000 in a week the commission is 4%
General Forge and Foundry pays its sales people by commission. If a sales person sells less than Rs.10,000 in a week the commission is 4% of the sales. Otherwise, if the sales person sells atleast Rs.10,000 in a week, the commission is 5%. Write a c program that will accept the amount of sales in a week from n sales persons, then outputs the amount of commission earned by each salesperson and the total commission. (Iteration statements)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started