代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/363342/9958131
c re.c
#include
main()
{
int n,s,j,k,p;
int a[100];//最多允许100人
printf("请输入人数:");
scanf("%d",&n);
printf("请输入数字:");
scanf("%d",&s);
for(j=0;j
www.eeworm.com/read/363342/9958152
c 十五人排序.c
/*原题: 一寝室有15个人,每天都要三人一行外出散步一次,要在一周
(7天)内 每个人都跟其他14人各散步一次,问每一天应该怎么安排??
要快点想哟!!!! 都等一会15分钟*/
#include
int anpai[7][5][3];
int biaozhi[16][16];
int i=0,j=0,k=0,a,total=0;
void hui
www.eeworm.com/read/363342/9958168
c 平方根.c
#define Epsilon 1.0E-6 /*控制解的精度*/
#include
#include
main()
{
float num,pre,this;
do
{
scanf("%f",&num);/*输入要求平方根的数*/
}while(num
www.eeworm.com/read/363089/9968187
c nn.c
/* nn.c Copyright 1995 by Donald R. Tveter */
/* drt@mcs.com - http://www.mcs.com/~drt/home.html */
#include
#include
#include
#include
/* de
www.eeworm.com/read/363034/9971040
c main.c
#include "common.h"
void main(void)
{
initCom();
initRegister();
while(1)
{
ComAnalyse();
}
}
www.eeworm.com/read/167372/9971057
tmp mfc469.tmp
/* Test.PL0 */
Program abc;
Integer x,y,z;
Real a,b;
Procedure ab(Var m,n:Integer;t:Real);
Begin
t:=n+m;
If m>n then n:=m else t:=m;
While n
www.eeworm.com/read/167372/9971083
tmp mfc163.tmp
/*这是一个测试程序*/
Program abc;
Integer x,y,z;
Real a,b;
Procedure ab(Var m,n:Integer;t:Real);
Begin
t:=n+m;
If m>n then n:=m else t:=m;
While n
www.eeworm.com/read/167372/9971085
tmp mfc46c.tmp
/*这是一个测试程序*/
Program abc;
Integer x,y,z;
Real a,b;
Procedure ab(Var m,n:Integer;t:Real);
Begin
t:=n+m;
If m>n then n:=m else t:=m;
While n
www.eeworm.com/read/167372/9971127
pl0 test.pl0
/*这是一个测试程序*/
Program abc;
Integer x,y,z; /*变量声明*/
Real a,b;
Procedure ab(Var m,n:Integer; t:Real); /*过程*/
Begin
t:=n+m;
If m>n then /*条件语句*/
n:=m
els
www.eeworm.com/read/167294/9973206
m four22.m
function [r,y,q]=four22(a)
[m,n]=size(a);
k=1;
w=1;
for i=1:2:(m-1)
for j=1:2:(n-1)
temp=a(i:i+1,j:j+1);
as{1,k}=temp;
as{1,k+1}=rand(2,2);
b{1,k}=ones(2,2