Skip to content

Instantly share code, notes, and snippets.

@maxoja
Last active July 17, 2018 14:53
Show Gist options
  • Save maxoja/c7ff6c98bb4cfaa28506e16d57137e94 to your computer and use it in GitHub Desktop.
Save maxoja/c7ff6c98bb4cfaa28506e16d57137e94 to your computer and use it in GitHub Desktop.
// ... includes
void scanValues(int* a, int* b, int* c)
{
}
void sort(int* a, int* b, int* c)
{
}
int main()
{
int a,b,c;
//get inputs using function scanValues(int* a, int* b, int* c)
//arrange a,b,c into ascending order using function sort(int* a, int* b, int* c)
printf("%d, %d, %d\n", a,b,c);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment