Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (number_of_parameters <= 2)
- {
- try
- {
- Console.Write("Enter number of parameters that your function will have: ");
- number_of_parameters = uint.Parse(Console.ReadLine());
- if (number_of_parameters == 0 || number_of_parameters == 1 || number_of_parameters == 2)
- Console.WriteLine("Function cannot be linear!");
- }
- catch (Exception)
- {
- Console.WriteLine("You have to input uint type!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement