Posts by Doti Online • 1 point
1 post
-
0
votes1
answer47
viewsQ: How to limit the highest numerical value to be typed in C#?
I wish I had a maximum number in charge: salario = Convert.Todouble (Console.Readline()); Example: if you pass 4000 you will be invalid.