问题描述:
C++编程 这是要编出什么样的程序
Task #2
1.Write a program that asks for the number of hours you worked in the last week to the half hour,and uses a constant double value for your hourly salary(10.25$).The program should then output your name and how much you made formatted with two decimal values.Make sure your out put looks nice.
Task #3
1.Write a program that asks for five student names (first and last),and their grades(Max 100mwith decimal points).
2.Calculate the average grades.
3.Your program should output the list of all five students (first name ,last name ,grade of each student and the average.)
Output should look like :
Student Name Exam Grade Class average
1.Tom weyrt 90 76
2.wrrets uwweed 82 76
3.-kjjjtr fdhh 56 76
4.nnnnnnn yu 67 76
5.john vakjhj 95 76
这两个要求的程序 长得什么样子?
task3 求高手把程序给我写一下
Task #2
1.Write a program that asks for the number of hours you worked in the last week to the half hour,and uses a constant double value for your hourly salary(10.25$).The program should then output your name and how much you made formatted with two decimal values.Make sure your out put looks nice.
Task #3
1.Write a program that asks for five student names (first and last),and their grades(Max 100mwith decimal points).
2.Calculate the average grades.
3.Your program should output the list of all five students (first name ,last name ,grade of each student and the average.)
Output should look like :
Student Name Exam Grade Class average
1.Tom weyrt 90 76
2.wrrets uwweed 82 76
3.-kjjjtr fdhh 56 76
4.nnnnnnn yu 67 76
5.john vakjhj 95 76
这两个要求的程序 长得什么样子?
task3 求高手把程序给我写一下
问题解答:
我来补答展开全文阅读