代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/435150/7796451
cpp prog20_08.cpp
// Program 20.8 Averaging values from Integer File: prog20_08.cpp
#include
#include "Integer.h"
using std::cout;
using std::endl;
template
double average(Iter a, I
www.eeworm.com/read/435150/7796534
cpp prog8_05.cpp
// Program 8.5 Passing an array
#include
using std::cout;
using std::endl;
double average(double array[], int count); // Function prototype
int main() {
double values[] = {1.
www.eeworm.com/read/435150/7796542
cpp prog8_06.cpp
// Program 8.6 Handling an array parameter as a pointer
#include
using std::cout;
using std::endl;
double average(double* array, int count); // Function prototype
int main() {
www.eeworm.com/read/199740/7826326
cpp ch16_1.cpp
//**********************
//** ch16_1.cpp **
//**********************
#include
#include
class Advisor{
int noOfMeeting;
};
class Student{
public:
Student
www.eeworm.com/read/399843/7831056
txt 例8.11.txt
例8.11 有一个一维数组score,内放10个学生成绩,求平均成绩。
程序如下:
float average(float array[10])
{int i;
float aver,sum=array[0];
for(i=1;i
www.eeworm.com/read/399588/7845674
cpp discount.cpp
#include
#include"discount.h"
double discount::sum=0.0;
int discount::n=0;
double discount::dis=0.98;
discount::discount(int b,double c)
{
price=c;
if(b>=10)
www.eeworm.com/read/399588/7845679
h discount.h
#include
class discount
{
public:
discount(int,double);
static double average();
static void display();
double average(discount &);
private:
double price;
www.eeworm.com/read/434700/7849001
c 1_1b.c
/* ======================================== */
/* 程序实例: 1_1b.c */
/* 计算总分和平均分 */
/* ======================================== */
void main()
{
www.eeworm.com/read/198974/7899054
cpp ch16_1.cpp
//**********************
//** ch16_1.cpp **
//**********************
#include
#include
class Advisor{
int noOfMeeting;
};
class Student{
public:
Student
www.eeworm.com/read/433717/7912626
m mmcfindewq.m
%mmcfindewq(lambda,mu,c)
% This function finds the average waiting time
% for an M/M/c queueing system.
function out = mmcfindewq(lambda,mu,c)
lq = mmcfindlq(lambda,mu,c);
ewq = lq/lambda