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.
1 Posted Topic
Re: this is jst my quiz in the class today.. by using 2 loop and swap the lower number ... int a[arraysize],hold . . . for (i=0;i<arraysize-1;i++) for (j=0; j<arraysize-1;j++) if (a>a[i+1]) { hold = a; a=a[i+1]; a[i+1]=hold; } I have asked this question before and have not gotten a completely … |
The End.