代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/223280/14648228
asm exam703.asm
;设有4个学生参加5门课的考试,其中4名学生的各科
;成绩存放在字数组chengji中,计算各门课程的平均
;成绩(要求把各门课程平均成绩存入字数组average中)。
data segment
chengji dw 68,78,85,72,83
dw 72,83,88,91,78
dw 99,91,88,76,77
www.eeworm.com/read/223105/14658306
cpp chapter11-5.cpp
//文件名:CHAPTER11-5.cpp
#include
#include
#include
// The function object multiplies an element by a Factor
template
class MultValue
{
private:
T
www.eeworm.com/read/223072/14661980
cpp ch16_1.cpp
//**********************
//** ch16_1.cpp **
//**********************
#include
#include
class Advisor{
int noOfMeeting;
};
class Student{
public:
Student
www.eeworm.com/read/122674/14676197
h student.h
#ifndef STUDENT
#define STUDENT
// student record containing an id and grade point average
struct Student
{
int studID;
float gpa;
};
// overload "==" by comparing student
www.eeworm.com/read/222477/14688628
cpp h10main.cpp
#include"h10.h"
//测试5位同学
int main()
{
Student D[5]={
Student("ZS",1,80,90,60),
Student("LS",2,60,70,90),
Student("ZWS",3,50,10,10),
Student("ztj",4,80,90,60),
Student("
www.eeworm.com/read/222477/14688636
cpp~ h10main.cpp~
#include"h10.h"
int main()
{
Student D[5]={
Student("ZS",1,80,90,60),
Student("LS",2,60,70,90),
Student("ZWS",3,50,10,10),
Student("ztj",4,80,90,60),
Student("Zgg",5,90,
www.eeworm.com/read/121515/14755011
cpp accum8.cpp
/* The following code example is taken from the book
* "C++ Templates - The Complete Guide"
* by David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, 2002
*
* (C) Copyright David Vandevoorde
www.eeworm.com/read/120254/14808868
cpp 9_78.cpp
#include
#include
#define Max 20
class English
{
int ptr;
int score[Max];
public:
void getdata(int val,int ptr) {score[ptr]=val;}
int disp(int ptr){return score[ptr
www.eeworm.com/read/119982/14814788
c math.c
#include
void main(void)
{
int seconds_in_an_hour;
float average;
seconds_in_an_hour = 60 * 60;
average = (5 + 10 + 15 + 20) / 4;
printf("The number of seconds i
www.eeworm.com/read/118956/14846323
cpp bank.cpp
// bank.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
//#include "bank.c"
#include "stdio.h"
#include "stdlib.h"
#include "math.h"
#define LEN sizeof(struct queue)
#define ERRORW printf("file