SAD
This commit is contained in:
parent
e2a1e9baec
commit
700f5f8bd0
BIN
du3/program
BIN
du3/program
Binary file not shown.
@ -4,14 +4,16 @@ int main(){
|
|||||||
int result = 0;
|
int result = 0;
|
||||||
int value = 0;
|
int value = 0;
|
||||||
int vxod[999];
|
int vxod[999];
|
||||||
//i`nt a = 0;
|
//int a = 0;
|
||||||
for(int i = 0; i < 4; i++){
|
//int b = 999;
|
||||||
scanf("%d",&value);;
|
for(int i = 0; i < 999; i++)
|
||||||
|
vxod[i] = 0;
|
||||||
|
for(int i = 0; i < 999; i++){
|
||||||
|
scanf("%d",&value);
|
||||||
vxod[i] = 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];
|
result = vxod[0] * result + vxod[i];
|
||||||
}
|
}
|
||||||
printf("Vysledok je: %d.00\n", result);
|
printf("Vysledok je: %d.00\n", result);
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
for(int i = 0; i < 2; i++){
|
int c = 0;
|
||||||
printf("%d", i);
|
char a = 'a';
|
||||||
}
|
if(a >= 0 && a <= 255)
|
||||||
|
printf("yes\n");
|
||||||
|
else
|
||||||
|
printf("no\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user