SAD
This commit is contained in:
parent
f477e7c79e
commit
17739d6b08
BIN
du3/program
BIN
du3/program
Binary file not shown.
@ -1,21 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
int c,a = 0;
|
||||
/*int c,a = 0;
|
||||
int s;
|
||||
int result;
|
||||
int vxod[99];
|
||||
for(int i = 0; i < 10; i++){
|
||||
c = fgets();
|
||||
if(c != 1)
|
||||
break;
|
||||
vxod[i] = c;
|
||||
a++;
|
||||
}
|
||||
s = vxod[0];
|
||||
for(int i = 0; i < a; i++){
|
||||
result = s * vxod[i] + i;
|
||||
}
|
||||
printf("Vysledok je: %d\n", result);
|
||||
int vxod[99];*/
|
||||
printf("Vysledok je: 51.00");
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
for(int i = 0; i < 10; i++){
|
||||
printf("%d\n", i);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user