26 lines
241 B
C
26 lines
241 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
int a = 12;
|
||
|
int b = 34;
|
||
|
int c = 56;
|
||
|
int d = 29;
|
||
|
|
||
|
if(a < 10){
|
||
|
b = a+c;
|
||
|
}
|
||
|
else{
|
||
|
c = a*a;
|
||
|
if(b > c){
|
||
|
b++;
|
||
|
}
|
||
|
else{
|
||
|
a = b + c;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return a;
|
||
|
}
|
||
|
|