Anonymous user
Keyboard input/Obtain a Y or N response: Difference between revisions
Keyboard input/Obtain a Y or N response (view source)
Revision as of 04:08, 7 December 2015
, 8 years ago→{{header|Rust}}
m (→{{header|Rust}}: Fixed formatting) |
|||
Line 1,047:
'Y'|'y' => {printw("You said yes!");},
'N'|'n' => {printw("You said no!");},
_ => {printw("Try again!\n"); continue;},
}
break
|