C++编程 这是要编出什么样的程序

问题描述:

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 求高手把程序给我写一下
1个回答 分类:综合 2014-09-28

问题解答:

我来补答
题目一,程序要能够输入你的每周工作时间,根据已经设定的每小时工资,算出你的总工资.输出这个工资以及你的姓名.注意工资的精确度是小数点后两位.
程序二,先是显示输入学生姓名及成绩,然后在输入完全部内容后计算平均成绩,并且如给出的那样输出.
 
 
展开全文阅读
剩余:2000
上一页:解题方法 技巧
下一页:过程3