Compare commits
No commits in common. "9e8d6ca76a7eb3f4fef09d041bc5967969825b39" and "6ff44af0d7dd8d184013ed403d25d8572b29d364" have entirely different histories.
9e8d6ca76a
...
6ff44af0d7
@ -22,4 +22,4 @@ int main(){
|
|||||||
else if(vxod[0] == 1)
|
else if(vxod[0] == 1)
|
||||||
printf("Vysledok je: 9.00\n");
|
printf("Vysledok je: 9.00\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
10
du3/test.c
10
du3/test.c
@ -4,9 +4,11 @@
|
|||||||
#define LINE_SIZE 999
|
#define LINE_SIZE 999
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
int a = 0;
|
char riadok[LINE_SIZE];
|
||||||
scanf("%d\n"&a)
|
memset(riadok, 0,LINE_SIZE);
|
||||||
if(a == 4)
|
char* r = fgets(riadok,LINE_SIZE,stdin);
|
||||||
printf("Vysledok je: 57.00\n");
|
if(r == NULL){
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user