代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/103443/15732097
cpp average.cpp
//这个程序在本书所带软盘中,文件名为AVERAGE.CPP
//这个程序读入40个学生的考试成绩,计算并输出这些考试的平均成绩。
#include
void main(void)
{
int score, counter, sum, average;
sum = 0; //将sum初始化
for(counter = 1; count
www.eeworm.com/read/103037/15748641
asm average.asm
; Turbo Assembler Copyright (c) 1988, 1991 By Borland International, Inc.
; AVERAGE.ASM
;
; Borland C++-callable small-model function that returns the average
; of a set of integer values. Ca
www.eeworm.com/read/191915/8416906
java average1.java
// Fig. 4.7: Average1.java
// Class-average program with counter-controlled repetition.
import javax.swing.JOptionPane;
public class Average1 {
public static void main( String args[] )
www.eeworm.com/read/189298/8477219
c average1.c
/*
** Compute the average of the specified number of values (bad).
*/
float
average( int n_values, int v1, int v2, int v3, int v4, int v5 )
{
float sum = v1;
if( n_values >= 2 )
sum +=
www.eeworm.com/read/189298/8477226
c average2.c
/*
** Compute the average of the specified number of values.
*/
#include
float
average( int n_values, ... )
{
va_list var_arg;
int count;
float sum = 0;
/*
** Prepare
www.eeworm.com/read/189093/8490265
vi random average.vi
www.eeworm.com/read/290011/8512241
txt average_temperature.txt
22.750000 22.750000 23.000000 22.500000 22.750000 22.500000 22.750000 22.750000 22.750000 22.700000 22.720000 22.717000 22.713700 22.710070 22.731077 22.729185 22.727103 22.699813 2
www.eeworm.com/read/290011/8512266
txt average_weight.txt
-0.160000 -0.160000 -0.160000 -0.110000 -0.100000 -0.230000 -0.120000 -0.050000 -0.120000 -0.129000 -0.132900 -0.123190 -0.122509 -0.111760 -0.121936 -0.117129 -0.106842 -0.123527 -
www.eeworm.com/read/433114/8545080
m l_average.m
function wlog=l_average(wlog,varargin)
% Function computes running average over specified log curves
% The function needs equidistantly sampled data; no null values
%
% Written by: E. R., June 7, 2001
www.eeworm.com/read/388896/8565453