代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/450252/7486996
cpp main.cpp
#include
#include
#define TFACTR 0.9
#define MAX 10000.0
#define MBIG 1000000000
#define MSEED 161803398
#define MZ 0
#define FAC (1.0/MBIG)
float weight[54][54];
int iord
www.eeworm.com/read/449694/7497977
cpp 小明买书.cpp
#include
//#include
#define ABS(x) (((x)>0)?(x):(-(x)))
void GetInputValue(float * a,const int howmany)
{
int i=0;
for(i=0;i
www.eeworm.com/read/449590/7499686
c 99.c
main()
#include "stdio.h"
main()
{
float peven(),podd(),dcall();
float sum;
int n;
while (1)
{
scanf("%d",&n);
if(n>1)
break;
}
if(n%2==0)
{printf("Even=");
sum=dcall(peven,n);
}
else
www.eeworm.com/read/449590/7499733
c 6.c
# define N 5
main( )
{
int x , num[N+1] ;
float st[N+1] , ave , sum=0;
for (x=1 ; x
www.eeworm.com/read/449530/7501152
c rhodium.c
/* rhodium.c -- your weight in rhodium */
#include
int main(void)
{
float weight; /* user weight */
float value; /* rhodium equivalent */
printf("A
www.eeworm.com/read/449281/7515163
hpp dct.hpp
/*************************************************************************
This software module was originally developed by
Ming-Chieh Lee (mingcl@microsoft.com), Microsoft Corporation
Wei-g
www.eeworm.com/read/449243/7516440
hpp dct.hpp
/*************************************************************************
This software module was originally developed by
Ming-Chieh Lee (mingcl@microsoft.com), Microsoft Corporation
Wei-g
www.eeworm.com/read/449211/7516741
cpp sin(x).cpp
#include"stdio.h"
#include"stdlib.h"
#include"math.h"
#include"iostream.h"
double jie(int n)
{
long t=1,i;
for(i=1;i
www.eeworm.com/read/449030/7519915
c floattest.c
/* floattest.c - An example of using floating point return values */
#include
float areafunc(int);
int main()
{
int radius = 10;
float result;
result = areafunc(rad
www.eeworm.com/read/448826/7525080
txt 038.txt
038
题目:求一个3*3矩阵对角线元素之和
程序分析:利用双重for循环控制输入二维数组,再将a[i][i]累加后输出。
程序源代码:
main()
{
float a[3][3],sum=0;
int i,j;
printf("please input rectangle element:\n");
for(i=0;i