This commit is contained in:
2024-02-12 14:35:40 +01:00
parent d2688932ab
commit d750a8b19c
9 changed files with 102 additions and 8 deletions

View File

@@ -6,10 +6,7 @@
#include "stdio.h"
#include "stdlib.h"
#include "time.h"
int myrand(int min, int max){
return rand()%(max-min)+min;
}
#include "myRand.h"
int arraydaco() {
int pole[10];
@@ -53,7 +50,9 @@ int arraydaco() {
if (pole[i] < min) {
min = pole[i];
}
if (pole[i] % 2){
}
for (int j = 0; j < 10; ++j) {
if (pole[j] % 2){
neparne++;
} else{
parne++;