代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/355913/10241583
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/355007/10305537
c math.c
#include
void main ()
{
int seconds_in_an_hour;
float average;
seconds_in_an_hour = 60 * 60;
average = (5 + 10 + 15 + 20) / 4;
printf("The number of secon
www.eeworm.com/read/162128/10333445
c math.c
#include
void main ()
{
int seconds_in_an_hour;
float average;
seconds_in_an_hour = 60 * 60;
average = (5 + 10 + 15 + 20) / 4;
printf("The number of secon
www.eeworm.com/read/162078/10337367
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/425638/10342912
c 16f727.c
/****************************************************************************
* Title : mTouch 16Button Module *
* UpDate : 2008.5.08 *
* *
* Device : PIC16F
www.eeworm.com/read/161772/10376963
java better.java
class BetterListOfNumbers extends ListOfNumbers {
public double average() {
if (icount > 0)
return itotal / icount;
else
return 0;
}
}
www.eeworm.com/read/279909/10377606
txt 例8.11.txt
例8.11 有一个一维数组score,内放10个学生成绩,求平均成绩。
程序如下:
float average(float array[10])
{int i;
float aver,sum=array[0];
for(i=1;i
www.eeworm.com/read/161528/10398832
c anothertestapp.c
// Description: Driver program that makes use of the average library function
// to compute the average value of a set of integer data values
#include
int main()
{
int test_
www.eeworm.com/read/161141/10445879
c anothertestapp.c
// Description: Driver program that makes use of the average library function
// to compute the average value of a set of integer data values
#include
int main()
{
int test_
www.eeworm.com/read/423959/10513071
cpp c9-11.cpp
#include
using namespace std;
class Student
{public:
Student(int,int,int);
void total();
static float average();
private:
int num;
int age;
float score;
s