代码搜索:while

找到约 10,000 项符合「while」的源代码

代码结果 10,000
www.eeworm.com/read/329487/12953046

c 01.c

#include void main() {float score,average=0; int n=0; do {scanf("%f",&score); if(score>=0) {average+=score; n++; } }while(score>=0); if(n!=0)average/=n; printf("%6.2f",average);
www.eeworm.com/read/142273/12953715

c wfmt.c

#include "../inc/screen.h" /* * 金额格式输出 * * 例: arg->in = 1543785.23, arg->out = " 1,543,785.23". * 若 arg->in 超过 14 位数字(不包括'.'), arg->out = " ***,***,***,***.**". * */ wdfmt(arg) struct df
www.eeworm.com/read/243219/12954476

c comm.c

//组合数 #include int Comm(int n,int k) { if(n
www.eeworm.com/read/243219/12954498

c gcd.c

//最大公约数 #include int Gcd(int n,int m) { if(n
www.eeworm.com/read/243219/12954642

c 2-1.c

#include #include #include typedef int DataType #include"LQueue.h" #include"LSNode.h" int main() { int n, car, time, sumStack, sumQueue, x; char ch, LSN
www.eeworm.com/read/243219/12954668

h sort.h

//排序算法 extern long cin, c; //cin为移动次数, c为比较次数 void InsertSort(DataType a[], int n) { int i, j; DataType temp; for(i=0;i-1 && tem
www.eeworm.com/read/243219/12954707

c 1a.c

#include #include #include typedef int DataType; #include"DLNode.h" int main() { DLNode *heada, *headb, *headc, *p; void add(DLNode *la, DLNode *lb, DLN
www.eeworm.com/read/243219/12954721

c 1.c

#include #include #include typedef int DataType; #include"DLNode.h" void main() { DLNode *heada, *headb, *headc, *p; void Input(DLNode **head); void a
www.eeworm.com/read/142178/12959297

cpp main.cpp

#include #include using namespace std; void swapAscii(char * a, char * b) { char c = *a; *a = *b; *b = c; } int main(int argc, char *argv[]) {
www.eeworm.com/read/142113/12961598

c strings.c

/****************************************************************/ /* */ /* strings.c */ /* */ /* Global String Handling Functions */ /* */ /* Copyright (c)