代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/245849/12777690
m s_normalize.m
function seismic=s_normalize(seismic,varargin)
% Function normalizes seismic traces
%
% Written by: E. R.: December 5, 2004
% Last updated: February 1, 2006: fix bug
%
% seismic=s_normaliz
www.eeworm.com/read/245818/12779410
c scores_in.c
// scores_in.c -- uses loops for array processing
#include
#define SIZE 10
#define PAR 72
int main(void)
{
int index, score[SIZE];
int sum = 0;
float average;
prin
www.eeworm.com/read/143661/12852856
cpp xt7-5.cpp
#include
#include
using namespace std;
const int n=10;
struct student
{ char num[6];
char name[8];
int score[4];
float avr;
} stu[n];
int main()
{ int i,j,max,m
www.eeworm.com/read/143661/12852963
cpp xt6-15.cpp
#include
using namespace std;
int main()
{void avsco(float *,float *);
void avcour1(char (*)[10],float *);
void fali2(char course[5][10],int num[],float *pscore,float aver[4]);
voi
www.eeworm.com/read/244387/12869525
c gymjudge.c
/*
* File: gymjudge.c
* ----------------
* This program averages a set of five gymnastic scores.
*/
#include
#include "genlib.h"
#include "simpio.h"
/*
* Constants
* ---------
* NJu
www.eeworm.com/read/244076/12891023
c report.c
/*
* GENESIS Copyright (c) 1986, 1990 by John J. Grefenstette
* This program may be freely copied for educational
* and research purposes. All other rights reserved.
*
* file: report
www.eeworm.com/read/330219/12906137
cpp 7_6.cpp
//7_6
#include
void findMax(int a[][4], int row,int col);
void findBad(int a[][4], int row,int col);
void average(int a[][4], int row,int col);
void main()
{
int array[5][4
www.eeworm.com/read/329487/12953046
c 01.c
#include
void main()
{float score,average=0;
int n=0;
do
{scanf("%f",&score);
if(score>=0)
{average+=score;
n++;
}
}while(score>=0);
if(n!=0)average/=n;
printf("%6.2f",average);
www.eeworm.com/read/142039/12968374
m plot.m
function plot(chr,varargin)
% PLOT - plots the generations.
% plot(chr,arch) plots the best member in each generation as well as
% the average value of the population. The argument chr shoul
www.eeworm.com/read/328431/13027072
txt 源代码.txt
#include /*头文件说明*/
#include
#include
#include /*字符串函数*/
#include /*内存操作函数*/
#include /*字符操作函数*/
#include /*