代码搜索:else
找到约 10,000 项符合「else」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5528657
c 950329-1.c
f ()
{
int i;
for (i = 1;; i = 0)
{
if (h ())
{
if (i)
g ();
g (h ());
g (h ());
}
else
{
g ();
break;
}
}
}
www.eeworm.com/read/266379/11229234
cpp fig01_02.cpp
int f( int x )
{
if( x == 0 )
return 0;
else
return 2 * f( x - 1 ) + x * x;
}
www.eeworm.com/read/390194/8478250
txt 10-08.txt
%例10-8 有两种选择的情况下if-else-end选择语句的使用。
%该程序用于演示有2种选择时if-else-end语句的使用
function iftwo(x)
if x>0
fprintf('%f is a positive number\n',x)
else
fprintf('%f is not a positive number\n',x)
en
www.eeworm.com/read/365949/9838612
cpp relation.cpp
//这个程序在本书所带软盘中,文件名为RELATION.CPP
//这个程序将演示嵌套if-else语句的应用。
#include
void main(void)
{
float score;
char result;
cout > score;
if (score < 59.5)
www.eeworm.com/read/417350/10993564
txt 10-08.txt
%例10-8 有两种选择的情况下if-else-end选择语句的使用。
%该程序用于演示有2种选择时if-else-end语句的使用
function iftwo(x)
if x>0
fprintf('%f is a positive number\n',x)
else
fprintf('%f is not a positive number\n',x)
en
www.eeworm.com/read/448182/7538533
c l3-4.c
/**********************************************************************
程序名称:L3-4.c
程序功能:演示if-else-if语句的使用方法
程序作者:张三
创建时间:2008-3-28
***************************************************************
www.eeworm.com/read/196362/8097606
java ifelse.java
//demonstrate if-else-if statement
class IfElse{
public static void main(String[] args){
String month[] = {
"January","Febuary","March","April","May","June",
"July","August","September",