Question: ALL CODES BELOW MUST BE IN FORMAT OF C PROGRAMMING Problem 1. One large chemical company pays its salespeople on a commission basis. The salespeople

ALL CODES BELOW MUST BE IN FORMAT OF C PROGRAMMING

Problem 1.

One large chemical 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 chemicals in a week receives $200 plus 9% of $5000, or a total of $650. Develop a C program that will input each salespersons gross sales for last week and will calculate and display that salespersons earnings. Process one salesperson's figures at a time.

Problem 2.

Calculate the value of \pi from the infinite series \pi = 4 (4 /3) + (4/5) (4/7) + (4/9) (4/11) + Print a table that shows the value of \pi approximated by one term of this series, by two terms, by three terms, and so on. How many terms of this series do you have to use before you first get 3.14? 3.141? 3.1415? 3.14159?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!