1. Engineering
  2. Computer Science
  3. 11 517 pm lab assignment 3doc write a program...

Question: 11 517 pm lab assignment 3doc write a program...

Question details

.11中国联通 5:17 PM Lab assignment 3.doc . Write a program that reads integers until 0 is entered. After input terminates, the program should report the total number of even integers (excluding the 0) entered, the average value of the even integers, the total number of odd integers entered, and the average value of the odd integers. Using if else statements 2 Redo question 1 using a switch. . Write a program that requests the hours worked in a week and then prints the gross pay, the taxes, and the net pay. Assume the following: a. Basic pay rate$10.00/hr b. Overtime (in excess of 40 hours) - time and a half C. Tax rate: 15% of the first $300 20% of the next $150 25% of the rest Use #define constants, and dont worry if the example does not conform to current tax law Write a program that reads eight integers into an array and then prints them in reverse order.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution