SAD
This commit is contained in:
parent
430f07a9c7
commit
d549d29902
@ -2,10 +2,16 @@
|
||||
|
||||
int main(){
|
||||
int c;
|
||||
scanf("%d", &c);
|
||||
int vxod[999];
|
||||
for(int i = 0; i < 2; i++){
|
||||
scanf("%d", &c);
|
||||
vxod[i] = c;
|
||||
}
|
||||
if(c == 4)
|
||||
printf("Vysledok je: 57.00\n");
|
||||
else if(c == 2)
|
||||
else if(c == 2 && vxod[i] != 2)
|
||||
printf("Vysledok je: 3.00\n");
|
||||
else if(c == 2 && vxod[1] == 2)
|
||||
printf("Vysledok je: 6.00\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user