代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/274718/10856574
cpp 5_6.cpp
#include
using namespace std;
int Average(int i)
{ static int sum = 0, count = 0; //声明静态局部变量,具有全局寿命,局部可见
sum = sum + i; count++;
return sum / count;
}
int main()
{ int num
www.eeworm.com/read/274562/10864640
c s5_6.c
float average (array,n)
float array[10];
int n;
{ int i;
float aver,sum=array[0];
for(i=1;i
www.eeworm.com/read/419345/10873133
java numgraph.java
package Course;
import java.awt.Graphics;
import javax.swing.JPanel;
import java.awt.Dimension;
import javax.swing.JTextField;
/**
* Title:
*
* Description:
*
* C
www.eeworm.com/read/273409/10916860
cpp xt9-9.cpp
#include
using namespace std;
class Product
{public:
Product(int n,int q,float p):num(n),quantity(q),price(p){};
void total();
static float average();
static void displa
www.eeworm.com/read/273407/10917457
cpp c9-11.cpp
#include
using namespace std;
class Student
{public:
Student(int,int,int);
void total();
static float average();
private:
int num;
int age;
float score;
s
www.eeworm.com/read/273339/10919674
txt test1_14.txt
float average (array)
float array[10];
{
int j;
float aver,sum=array[0];
for(j=1:j
www.eeworm.com/read/273339/10919802
txt test1_14.txt
float average (array)
float array[10];
{
int j;
float aver,sum=array[0];
for(j=1:j
www.eeworm.com/read/272638/10951300
c anothertestapp.c
// Description: Driver program that makes use of the average library function
// to compute the average value of a set of integer data values
#include
int main()
{
int test_
www.eeworm.com/read/418342/10952827
m statxture.m
function t = statxture(f, scale)
%STATXTURE Computes statistical measures of texture in an image.
% T = STATXURE(F, SCALE) computes six measures of texture from an
% image (region) F. Parameter
www.eeworm.com/read/417462/10988790
c math.c
#include
void main ()
{
int seconds_in_an_hour;
float average;
seconds_in_an_hour = 60 * 60;
average = (5 + 10 + 15 + 20) / 4;
printf("The number of secon