0
How an I gather user input, then use it in an if statement?
I've been writing a program where it gathers the user input using a string, but then I'm not sure how to check the value of the input. (The value is a number) đ
1 Answer
+ 1
You could use this to get a number
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/how-to-convert-a-string-to-a-number