文件名称:exp2_1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:80.66kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个score类,其中包括私有数据成员和公有成员函数,即
num 学号
Math 高等数学成绩
English 英语成绩
Programming 程序设计成绩
inscore() 输入学号和各科成绩,并且计算平均成绩
showscore(时) 输出学号和各科成绩
使用score类,输入某班n(事先不能确定)个学生的学号和各科成绩,然后求各个学生的平均成绩,并列表输出学生的学号、各科成绩和平均成绩。
-Define a score class, including private data members and public member functions, that is, num number Math Science English to score higher in math achievement Programming Programming inscore () input student number and all subjects, and calculated the average score showscore () Output Student ID and all subjects using the score class, enter a class n (can not determine in advance) a student' s student number and all subjects, and then find each student' s grade point average, and list the output numbers of school students, all subjects and the average results.
num 学号
Math 高等数学成绩
English 英语成绩
Programming 程序设计成绩
inscore() 输入学号和各科成绩,并且计算平均成绩
showscore(时) 输出学号和各科成绩
使用score类,输入某班n(事先不能确定)个学生的学号和各科成绩,然后求各个学生的平均成绩,并列表输出学生的学号、各科成绩和平均成绩。
-Define a score class, including private data members and public member functions, that is, num number Math Science English to score higher in math achievement Programming Programming inscore () input student number and all subjects, and calculated the average score showscore () Output Student ID and all subjects using the score class, enter a class n (can not determine in advance) a student' s student number and all subjects, and then find each student' s grade point average, and list the output numbers of school students, all subjects and the average results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
exp2_1/
exp2_1/exp2_1.cpp
exp2_1/exp2_1.dsp
exp2_1/exp2_1.dsw
exp2_1/exp2_1.ncb
exp2_1/exp2_1.opt
exp2_1/exp2_1.plg
exp2_1/exp2_1.suo
exp2_1/ReadMe.txt
exp2_1/StdAfx.cpp
exp2_1/StdAfx.h
exp2_1/exp2_1.cpp
exp2_1/exp2_1.dsp
exp2_1/exp2_1.dsw
exp2_1/exp2_1.ncb
exp2_1/exp2_1.opt
exp2_1/exp2_1.plg
exp2_1/exp2_1.suo
exp2_1/ReadMe.txt
exp2_1/StdAfx.cpp
exp2_1/StdAfx.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.