Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool isCorrect = false;
- int numberOne = 0;
- //inputing the integer numbers
- while (!isCorrect)
- {
- Console.Write("Input first number: ");
- isCorrect = int.TryParse(Console.ReadLine(), out numberOne);
- }
Advertisement
Add Comment
Please, Sign In to add comment