Pretty close, check the comments in the code
int i,pass;
boolean swapMade;
pass = 1;
*numberCompares = 0;
*numberMoves = 0;
Type: Posts; User: anduril462
Pretty close, check the comments in the code
int i,pass;
boolean swapMade;
pass = 1;
*numberCompares = 0;
*numberMoves = 0;
Generally, yes, I would like to smack such a professor, but this would be a natural segue to teaching assembly. Start with a structured, higher-level construct in a language you know, C. Rewrite it...