代码搜索:else
找到约 10,000 项符合「else」的源代码
代码结果 10,000
www.eeworm.com/read/430645/8736457
txt 变量作用域识别2.txt
int x;
read x;
if (x > 0) int y =1;
else if (x == 0) int y = 0;
else int y = -1;
write x;
write y;
www.eeworm.com/read/373463/9454738
txt code3.txt
{
if(c>b)
c=(3.45+4)/5;
else if(a>b)
f=a+d*014;
else
{
a=f;
d=y;
}
}
#
www.eeworm.com/read/359349/10153972
m u.m
% Unit step function
function f=u(t)
f=(t>=0); % f=1 for t>0, else f=0
www.eeworm.com/read/281000/10273844
cpp fig01_03.cpp
int bad( int n )
{
if( n == 0 )
return 0;
else
return bad( n / 3 + 1 ) + n - 1;
}
www.eeworm.com/read/425883/10311774
m mapping v2.m
function A = mapping(n)
if n == 2
A = [1 2; 3 4];
else
B = mapping(n/2);
A = [B B+(n/2)^2; B+(n/2)^2*2 B+(n/2)^2*3];
end