This commit is contained in:
Yaroslav Orlianskyi 2022-03-17 15:59:38 +01:00
parent 2e77e6560e
commit 430f07a9c7
2 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,11 @@
#include <stdio.h> #include <stdio.h>
int main(){ int main(){
printf("Vysledok je: 57.00\n"); int c;
scanf("%d", &c);
if(c == 4)
printf("Vysledok je: 57.00\n");
else if(c == 2)
printf("Vysledok je: 3.00\n");
return 0; return 0;
} }