QWE
This commit is contained in:
parent
ec6d78c4db
commit
585be0727b
@ -3,7 +3,6 @@
|
||||
int main(){
|
||||
float vxod[999];
|
||||
int i = 0;
|
||||
int a = 1;
|
||||
float result = 0;
|
||||
while(1){
|
||||
float value = 0;
|
||||
@ -17,8 +16,6 @@ int main(){
|
||||
printf("Nepodarilo sa nacitat zaklad x\n");
|
||||
break;
|
||||
}else{
|
||||
for(a = 1; a < i; a++)
|
||||
printf("%.2f\n", vxod[a]);
|
||||
for(int a = 1; a < i; a++)
|
||||
result = vxod[0] * result + vxod[a];
|
||||
printf("Vysledok je: %.2f\n", result);
|
||||
|
Loading…
Reference in New Issue
Block a user