do { shuffle and display card; read input; } while (input correct); exit(0);