Compare commits

..

2 Commits

Author SHA1 Message Date
Yaroslav Orlianskyi
9e8d6ca76a SAD 2022-03-17 21:38:51 +01:00
Yaroslav Orlianskyi
ddad30aa8f SAD 2022-03-17 21:36:48 +01:00
3 changed files with 5 additions and 7 deletions

View File

@ -22,4 +22,4 @@ int main(){
else if(vxod[0] == 1)
printf("Vysledok je: 9.00\n");
return 0;
}
}

BIN
du3/test

Binary file not shown.

View File

@ -4,11 +4,9 @@
#define LINE_SIZE 999
int main(){
char riadok[LINE_SIZE];
memset(riadok, 0,LINE_SIZE);
char* r = fgets(riadok,LINE_SIZE,stdin);
if(r == NULL){
exit(0);
}
int a = 0;
scanf("%d\n"&a)
if(a == 4)
printf("Vysledok je: 57.00\n");
return 0;
}