Update du1/program.c
test nechce aby som mu pisal otazky a bol interaktivny
This commit is contained in:
parent
8d98c0a427
commit
f3637c7b0b
@ -25,8 +25,6 @@ int vyhodnot_vstup (float *num){
|
||||
int main(){
|
||||
|
||||
float num = 0;
|
||||
|
||||
printf ("Pre ake x sa ma ratat horner?");
|
||||
//prepis vstupu do premennej
|
||||
int vyhodnotenie = vyhodnot_vstup(&num);
|
||||
|
||||
@ -52,7 +50,6 @@ int main(){
|
||||
int idx = 0;
|
||||
|
||||
while (1) {
|
||||
|
||||
int vyhodnotenie = vyhodnot_vstup(&koeficient[idx]);
|
||||
if (vyhodnotenie == -2) {
|
||||
break;
|
||||
@ -67,7 +64,6 @@ int main(){
|
||||
} else {
|
||||
idx++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (idx == 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user