Recently I missed class so now I am confused with the homework. Can someone point me in the right direction for these problems? TY
1.Read in a list of 10 numbers. Print out the list of numbers. Then sort the numbers. Print out the list of numbers sorted.
2.Each line contains the number of hours a person worked, payrate, and a bonus (add the bonus to the final pay). Compute a person's total pay. Our company pays double for any hours over 40 (Overtime) Your program should work for any number of lines of data.
2. Write a for loop that reads in the three numbers, does all the math, and spits out a number. Make the for loop stop only after reading all the lines in the file.