Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
im trying to sort my random numbers to odd numbers and even numbers,, the last part of my code is really wrong.....(the sorting part) [code] my code: #include<time.h> int main() { int num[50]; int x,odd,even; srand(time(NULL)); for(x=0; x<50; x++) { num[x] = (rand()%60)+40; } for(x = 49; x>-1; x--) { … |