Question: This is for Cse1311. We are using C++ programming. Will rate 5 stars! 2. Write a program that reads a file of gross pay amounts

This is for Cse1311. We are using C++ programming. Will rate 5 stars!  This is for Cse1311. We are using C++ programming. Will rate

2. Write a program that reads a file of gross pay amounts for a company (any size) and finds the average gross pay. Use a while loop for this problem. What will vou use as the sentinel? Input at least 5 pay amounts (use whole dollar amounts). Also submit your input file for this one so I can calculate your average. 3. Write a program that reads in a value n from the user. Use a for loop for this problem. Then the program reads in n integers and prints the integers. The program counts and prints out the number of positive integers and the number of negative integers at the end of the program. If a value is 0, it should not be counted. The process should continue until n integers have been read and processed. Enter at least 10 for the n value and enter at least 1 zero with the data. 4. Write a program that adds up the odd integers from -50 through +25 inclusive. Use a for loop in this program. Print the total at the end of the program. 5. Write a program that reads in a temperature and a 'C or 'F' to tell what type of temperature it is (Celsius or Fahrenheit). Convert the input temperature to the other format and print it out. Use these formulas: C-5/9(F-32) and F-9/5C+32. Ask the user if he/she want to convert another temperature at the end of each calculation and continue until the user enters 'N'. Use a do-while loop for this program. Do at least one Centigrade to Fahrenheit conversion and at least one Fahrenheit to Centigrade conversion

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!