Posts by Matheus Melo • 1 point
2 posts
-
0
votes3
answers2698
viewsA: Separate even and odd numbers with two vectors in C
Hello, I changed the code, I think I made the simplest way to this problem, take a look: #include <stdio.h> main(){ int par[10], impar[10], num, i, pares = 0, impares = 0; do{ printf("\n…
-
0
votes1
answer343
viewsA: Fill a Loop Multidimensional Array from 3 separate PHP arrays
Hello, I managed to solve using two foreach, see if it helps you: $dados = [ 'id' => [1,2,3,4], 'ocorrencia' => [10,13,17,18], 'justificativa' =>…