Microsoft Visual C請大大幫幫忙

Input x = 1, 2, 3, and other characters Output“ level A”, “level B”,“level C”, and “ please typing 1, or 2, or 3” 1. The computer will keep asking you to type 1 ~ 3 if you type th other characters. 2. Once you had typed 1 ~ 3, after output “ level... show more Input x = 1, 2, 3, and other characters

Output“ level A”, “level B”,“level C”, and “ please typing 1, or 2, or 3”

1. The computer will keep asking you to type 1 ~ 3 if you type th other
characters.
2. Once you had typed 1 ~ 3, after output “ level A”, or “level B”,
or“level C”, then the procedure will be terminated.

Using the commands: while, scanf, switch, and so on.
Update: 不好意思~可以請您幫我註解一下嗎??因為初學者~不太會~麻煩了
1 answer 1