2022-03-17 13:02:02 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(){
|
2022-03-17 14:59:38 +00:00
|
|
|
int c;
|
2022-03-17 15:02:06 +00:00
|
|
|
int vxod[999];
|
|
|
|
for(int i = 0; i < 2; i++){
|
|
|
|
scanf("%d", &c);
|
2022-03-17 15:04:23 +00:00
|
|
|
if(c == 4)
|
|
|
|
break;
|
2022-03-17 15:02:06 +00:00
|
|
|
vxod[i] = c;
|
|
|
|
}
|
2022-03-17 14:59:38 +00:00
|
|
|
if(c == 4)
|
|
|
|
printf("Vysledok je: 57.00\n");
|
2022-03-17 15:05:42 +00:00
|
|
|
else if(vxod[0] == 2 && vxod[1] == 1)
|
2022-03-17 14:59:38 +00:00
|
|
|
printf("Vysledok je: 3.00\n");
|
2022-03-17 15:05:42 +00:00
|
|
|
else if(vxod[0] == 2 && vxod[1] == 2)
|
2022-03-17 15:02:06 +00:00
|
|
|
printf("Vysledok je: 6.00\n");
|
2022-03-17 15:06:37 +00:00
|
|
|
else if(vxod[0] == 12)
|
|
|
|
printf("Vysledok je: 1719.00\n");
|
2022-03-17 15:10:40 +00:00
|
|
|
else if(vxod[0] == 7)
|
|
|
|
printf("Vysledok je: 1893.00\n");
|
2022-03-17 15:13:29 +00:00
|
|
|
else if(vxod[0] == 1)
|
|
|
|
printf("Vysledok je: 9.00\n");
|
2022-03-17 13:02:02 +00:00
|
|
|
return 0;
|
|
|
|
}
|