代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/199568/7844834
java whilecounter.java
// Fig. 5.1: WhileCounter.java
// Counter-controlled repetition with the while repetition statement.
public class WhileCounter
{
public static void main( String args[] )
{
www.eeworm.com/read/199568/7844876
java dowhiletest.java
// Fig. 5.7: DoWhileTest.java
// do...while repetition statement.
public class DoWhileTest
{
public static void main( String args[] )
{
int counter = 1; // initialize counter
www.eeworm.com/read/399312/7870813
cpp fig05_07.cpp
// Fig. 5.11: fig05_11.cpp
// do...while repetition statement.
#include
using std::cout;
using std::endl;
int main()
{
int counter = 1; // initialize counter
do
{
www.eeworm.com/read/399309/7870938
cpp ex04_22.cpp
// Exercise 4.22: ex04_22.cpp
// What does this program print?
#include
using std::cout;
using std::endl;
int main()
{
int row = 10; // initialize row
int column; // declare
www.eeworm.com/read/299182/7881053
py a10.py
# -*- coding: cp936 -*-
from math import sqrt
import random
#第十章----定理与猜想
#《c趣味编程》78-85题
#21:50 2006-11-4
def daoxu(n):
d=n
s=0
while d!=0:
d,f=divmod(d,10)
s=f+s*10
www.eeworm.com/read/197671/7979375
c 16rsech.c
int rsech(p,k,m,a,b)
STRU p[];
double a,b;
int k,m;
{ int i;
i=k;
while ((im) return(-1);
return(i);
}
www.eeworm.com/read/197671/7979409
c 16ibkey.c
int ibkey(p,n,a,b,m)
int n,*m;
BISERCH *p[];
int a,b;
{ int i,j,k;
i=1; j=n;
while (i=a)&&((*p[k-1]).KEY
www.eeworm.com/read/197671/7979439
c 16csech.c
int csech(p,k,m,a,b)
STRU p[];
char a,b;
int k,m;
{ int i;
i=k;
while ((im) return(-1);
return(i);
}