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 #44.2K
Hi there guys, So I have two arrays, and each arrays got 5 elements (integers). My goal is to to arrange the elements of each of those arrays in a descending order and save them in a new array. I started off with bubble sorting each of those arrays and … |
|
Hi there, I was trying to code a simple program that bubble sorts an array into a list of numbers arranged in a descending order: Here is the code I used: [CODE=c] #define size1 5 #define size2 5 #include <stdio.h> int main() { int a[size1]={8,4,5,2,3};//array 1 int i=0; int n=0; … |