Posts by Rodolfo Fonseca dos Santos • 21 points
1 post
-
1
votes1
answer445
viewsQ: How to check if the user typed something when prompted for a C#entry
The following validation checks whether an entry is a positive number. if (Q[i] < 0) { Console.WriteLine("Digite um número positivo!"); goto Start; } Just like this check, if nothing was typed,…
c#asked Rodolfo Fonseca dos Santos 21