Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int sort(int a, int b, int c)
- {
- int max1, max2, max3, temp;
- char Values[40];
- max1 = a;
- max2 = b;
- max3 = c;
- if (max3>max2)
- {
- temp = max2;
- max2 = max3;
- max3 = temp;
- }
- if (max2>max1)
- {
- temp = max1;
- max1 = max2;
- max2 = temp;
- }
- //Here I don't know how to proceed further
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement