Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. int sort(int a, int b, int c)
  2. {
  3. int max1, max2, max3, temp;
  4. char Values[40];
  5. max1 = a;
  6. max2 = b;
  7. max3 = c;
  8. if (max3>max2)
  9. {
  10. temp = max2;
  11. max2 = max3;
  12. max3 = temp;
  13. }
  14. if (max2>max1)
  15. {
  16. temp = max1;
  17. max1 = max2;
  18. max2 = temp;
  19. }
  20. //Here I don't know how to proceed further
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement