This commit is contained in:
Yaroslav Orlianskyi 2022-03-17 18:53:14 +01:00
parent e2a1e9baec
commit 700f5f8bd0
4 changed files with 14 additions and 9 deletions

Binary file not shown.

View File

@ -4,14 +4,16 @@ int main(){
int result = 0;
int value = 0;
int vxod[999];
//i`nt a = 0;
for(int i = 0; i < 4; i++){
scanf("%d",&value);;
//int a = 0;
//int b = 999;
for(int i = 0; i < 999; i++)
vxod[i] = 0;
for(int i = 0; i < 999; i++){
scanf("%d",&value);
vxod[i] = value;
//a = i;
}
//result = vxod[0];
for(int i = 1; i < 4; i++){
for(int i = 1; i < 999; i++){
result = vxod[0] * result + vxod[i];
}
printf("Vysledok je: %d.00\n", result);

BIN
du3/test

Binary file not shown.

View File

@ -1,8 +1,11 @@
#include <stdio.h>
int main(){
for(int i = 0; i < 2; i++){
printf("%d", i);
}
int c = 0;
char a = 'a';
if(a >= 0 && a <= 255)
printf("yes\n");
else
printf("no\n");
return 0;
}