- CP0102 uwb中的矩形波的产生
- Citywithaccess 全国邮政编码数据库(精确到乡镇级) MS Access数据库文件
- calibre_drc_lvs_data_2006.3.tar Calibre DRC and LVS labs.
- LPC1700_USB_bootloader LPC1700 secondary USB bootloader 用USB下载固件
- QUESTION-BANK-eie question bank for electronics and instrumentation department . best used by Bachelor of Engineering students
- GPS_test_51 单片机处理GPS发送的数据
文件名称:3
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:872byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/编写一个程序,输入N个学生数据,包括学号、姓名、成绩,要求输出这些学生数据并计算平均分。
//要求:
//设计一个学生类Stud,除了包括no(学号)、name(姓名)和deg(成绩)数据成员外,有两个静态变量
// sum和num,分别存放总分和人数,另有两个普通成员函数setdata()和disp(),分别用于给数据成
// 员赋值和输出数据成员的值,另有一个静态成员函数avg(),它用于计算平均分。在main()函数中
// 定义了一个对象数组用于存储输入的学生数据。-/ Write a program, enter N student data, including Student ID, name, accomplishments, these students require the output data and calculate the average.// Requirements:// design a class of students Stud, in addition, including no (Student ID), name (name), and deg (results) data members, there are two static variables// sum and num, respectively, the total score and the number of storage , and another two ordinary member functions setdata () and disp (), respectively, to the data used as// staff assignment and the members of the value of the output data, while a static member function avg (), it is used to calculate the average. In the main () function// define an array of objects used to store student data input.
//要求:
//设计一个学生类Stud,除了包括no(学号)、name(姓名)和deg(成绩)数据成员外,有两个静态变量
// sum和num,分别存放总分和人数,另有两个普通成员函数setdata()和disp(),分别用于给数据成
// 员赋值和输出数据成员的值,另有一个静态成员函数avg(),它用于计算平均分。在main()函数中
// 定义了一个对象数组用于存储输入的学生数据。-/ Write a program, enter N student data, including Student ID, name, accomplishments, these students require the output data and calculate the average.// Requirements:// design a class of students Stud, in addition, including no (Student ID), name (name), and deg (results) data members, there are two static variables// sum and num, respectively, the total score and the number of storage , and another two ordinary member functions setdata () and disp (), respectively, to the data used as// staff assignment and the members of the value of the output data, while a static member function avg (), it is used to calculate the average. In the main () function// define an array of objects used to store student data input.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
