You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
211 B
19 lines
211 B
11 months ago
|
// test if-{if}-else
|
||
|
int if_if_Else() {
|
||
|
int a;
|
||
|
a = 5;
|
||
|
int b;
|
||
|
b = 10;
|
||
|
if(a == 5){
|
||
|
if (b == 10)
|
||
|
a = 25;
|
||
|
}
|
||
|
else
|
||
|
a = a + 15;
|
||
|
return (a);
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
return (if_if_Else());
|
||
|
}
|