Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago