i am in computer programming in school and i went and took off two days of school because my brother was flying in from iraq and i am two programs behind and i need to get them caught up by tomorrow and i have NO IDEA how to do these programs.! can you please help???!
we start all our programs with this:
int main ( )
the first one i have to do it says to do this:
a large chemical company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who sells $5000 worth of chemicals in a week receives $200 plus 9 percent of $5000, or a total of $650. Develop a program that uses a while statement to input each salesperson's gross sales for last week and calculates and displays that salesperson's earning. Process one salesperson's figures at a time.
the second on says this:
Use a while statement to determine the gross pay for each of several employees. The company pays "straight time" for the first 40 hours worked by each employee and pays "time-and-a-half" for all hours worked in excess of 40 hours. You are given a list of the employees of the company, the number of hours each employees worked last week and the hourly rate of each employee. Your program should input this information for each employee and should determine and display the employee's gross pay.