Compare commits
2 Commits
6ff44af0d7
...
9e8d6ca76a
Author | SHA1 | Date | |
---|---|---|---|
|
9e8d6ca76a | ||
|
ddad30aa8f |
@ -22,4 +22,4 @@ int main(){
|
||||
else if(vxod[0] == 1)
|
||||
printf("Vysledok je: 9.00\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
10
du3/test.c
10
du3/test.c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user