代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/257948/11901584
c 2-8.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
f1=1.0;
f2=&f1;
for(i=0;i
www.eeworm.com/read/257948/11901593
c 2-7.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
clrscr();
sum=avg=0;
for(i=0;i
www.eeworm.com/read/257575/11920645
cpp cpp23.cpp
#include
#include
void main()
{
int select;
int i,j;
int score[5][7];
int average=0;
int sum=0;
do{
printf("本程序有四项功能;\n");
printf("1.根据学号查询学生成绩;\n");
printf(
www.eeworm.com/read/154628/11941729
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/257228/11941895
tgffopt kseries_parallel.tgffopt
#---------------------------------------------
# Series-parallel graph generation example
#---------------------------------------------
# Basic definitions
seed 1
period_mul 1
tg_cnt 4
# Note, this
www.eeworm.com/read/257078/11951482
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/257009/11961174
m ripple.m
function r = ripple(waveform)
% Function to calculate the ripple on an input waveform.
% Calculate the average value of the waveform
nvals = size(waveform,2);
temp = 0;
for ii = 1:nvals
tem
www.eeworm.com/read/154212/11982647
c printdata.c
/*数据显示 */
/*该函数并未对结构体进行实际的排序,只是对它们的下标排序,然后再输出结果*/
void printdata()
{
int t; /*累加变量*/
int i,j; /*循环变量*/
int temp; /*交换时数据的暂存变量*/
int flag[Maxsize];
www.eeworm.com/read/256101/12028428
cpp gradebook.cpp
// Fig. 4.9: GradeBook.cpp
// Member-function definitions for class GradeBook that solves the
// class average program with counter-controlled repetition.
#include
using std::cout;
us
www.eeworm.com/read/256101/12028459
cpp gradebook.cpp
// Fig. 4.13: GradeBook.cpp
// Member-function definitions for class GradeBook that solves the
// class average program with sentinel-controlled repetition.
#include
using std::cout;