Write a program where we type letters a to e, if the user types another letter display an error message. Type 7 and it quits. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Write a program where we type letters a to e, if the user types another letter display an error message. Type 7 and it quits.

Rewrite the program using a "while" loop

14th Mar 2017, 1:55 AM
Jason Bourne
1 Resposta
0
Try below code in VS. Console.ReadLine() inside while gives error in Solo Playground. https://code.sololearn.com/cwc1LuOYq6PY/?ref=app
14th Mar 2017, 6:03 AM
Eranga
Eranga - avatar