Posts by user20153 • 101 points
2 posts
-
4
votes4
answers1177
viewsQ: How not to repeat terms on printf
I have another problem. My activity this time is to create and read the elements of two vectors, A and B, with 5 and 7 values, respectively. Then the program will show which elements are repeated.…
-
6
votes4
answers274
viewsQ: Problem checking prime numbers
I have to create a random number array in a range from 0 to 250, and show which are the primes. This is my code: #include <stdio.h> #include <stdlib.h> #include <time.h> int…