This commit is contained in:
Yaroslav Orlianskyi 2022-03-17 15:55:32 +01:00
parent f477e7c79e
commit 17739d6b08
3 changed files with 4 additions and 17 deletions

Binary file not shown.

View File

@ -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;
}

View File

@ -1,8 +1,6 @@
#include <stdio.h>
int main(){
for(int i = 0; i < 10; i++){
printf("%d\n", i);
}
return 0;
}