代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/350960/10692501
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/350960/10692506
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/421785/10699021
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/276402/10741648
m cp0202_transmitter_2pam_ds.m
%
% FUNCTION 2.9 : "cp0202_transmitter_2PAM_DS"
%
% Simulation of a UWB transmitter implementing 2PAM with DS
%
% Transmitted power is fixed to 'Pow'
% The signal is sampled with frequency 'fc'
www.eeworm.com/read/421312/10741660
c al7_7.c
/*案例代码文件名:AL7_7.C*/
/*功能:数组名作为函数参数,求平均成绩*/
float aver(float a[ ]) /*定义求平均值函数,形参为一浮点型数组名*/
{int i;
float av,s=a[0];
for(i=1;i
www.eeworm.com/read/276402/10741699
m cp0301_ppm_sin.m
%
% FUNCTION 3.1 : "cp0301_PPM_sin"
%
% Generation of a PPM-UWB signal in the case of a
% sinusoidal modulating signal and rectangular pulses
%
% Transmitted power is fixed at 'Pow'
% The sign
www.eeworm.com/read/276402/10741749
m cp0202_transmitter_2pam_ds.m
%
% FUNCTION 2.9 : "cp0202_transmitter_2PAM_DS"
%
% Simulation of a UWB transmitter implementing 2PAM with DS
%
% Transmitted power is fixed to 'Pow'
% The signal is sampled with frequency 'fc'
www.eeworm.com/read/276402/10741789
m cp0301_ppm_sin.m
%
% FUNCTION 3.1 : "cp0301_PPM_sin"
%
% Generation of a PPM-UWB signal in the case of a
% sinusoidal modulating signal and rectangular pulses
%
% Transmitted power is fixed at 'Pow'
% The sign
www.eeworm.com/read/349916/10782009
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/275615/10807605
txt chengji.txt
#include
#define N 10
struct student
{
char num[6];
char name[8];
float score[3];
float avr;
}stu[N];
void main()
{
int i,j,maxi;
float sum,max,average;
for(i=0;i