代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/316786/13517772
c query.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf
www.eeworm.com/read/315699/13538008
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/315460/13542188
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/314653/13562528
m hclust.m
%HCLUST hierarchical clustering
%
% [LABELS, DENDROGRAM] = HCLUST(D,TYPE,K)
% DENDROGRAM = HCLUST(D,TYPE)
%
% INPUT
% D dissimilarity matrix
% TYPE string name of clustering criterion (opt
www.eeworm.com/read/312610/13607769
txt 例8.12.txt
例8.12
float average(float array[ ]
,int n)
{int i;
float aver,sum=array[0];
for(i=1;i
www.eeworm.com/read/310520/13649781
c query.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf
www.eeworm.com/read/310200/13655954
cpp vlargument.cpp
// 变长参数表的应用VLArgument.cpp
#include
#include
#include
double average( int, ...);
void main()
{double w=36.5,x=21.5,y=1.9,z=10.1;
cout
www.eeworm.com/read/308602/13699153
m e0328.m
%循环程序
maxcount=1;
tic;%启动定时器
for jj=1:maxcount
a=1:10000;
for ii=1:10000
if a(ii)>5000
a(ii)=sqrt(a(ii));
end
end
end
average1=(toc)/maxcount; %toc为读
www.eeworm.com/read/307616/13718883
cpp soln4_1.cpp
// Soln4_1.cpp
#include
#include
using std::cin;
using std::cout;
using std::endl;
using std::setw;
int main()
{
int arraySize = 5;
double* values = new double[a
www.eeworm.com/read/303498/13814494
m e0328.m
%循环程序
maxcount=1;
tic;%启动定时器
for jj=1:maxcount
a=1:10000;
for ii=1:10000
if a(ii)>5000
a(ii)=sqrt(a(ii));
end
end
end
average1=(toc)/maxcount; %toc为读