Posts by Gabriel Lima • 1 point
2 posts
-
0
votes1
answer56
viewsA: Doubt in activity with POO
Hello. I managed to solve the problem, I will leave the solution here, in case someone needs. #include <iostream> using namespace std; class separar{ int v[9]; int p[9]; int q[9]; int k; int…
-
0
votes1
answer56
viewsQ: Doubt in activity with POO
Hello, basically the exercise is to have the user type numbers in an array and then I have to have the array separated into another 2 : one for pairs and the other for odd ones. I’ll leave the code…