mirror of
https://github.com/svek95/programming_GB.git
synced 2026-05-17 18:41:44 +03:00
add seminar 4
This commit is contained in:
@@ -97,7 +97,23 @@ public class Start
|
||||
Console.WriteLine("Resault is:");
|
||||
pract.Quad(number);
|
||||
break;
|
||||
|
||||
case 5:
|
||||
Console.WriteLine("Input number");
|
||||
int number1 = Convert.ToInt32(Console.ReadLine());
|
||||
Console.WriteLine("Resault is:" + pract.countNumber(number1));
|
||||
break;
|
||||
case 6:
|
||||
Console.WriteLine("Input number");
|
||||
int number2 = Convert.ToInt32(Console.ReadLine());
|
||||
Console.WriteLine("Resault is:" + pract.factNumber(number2));
|
||||
break;
|
||||
case 7:
|
||||
Console.WriteLine("Input first number");
|
||||
int A = Convert.ToInt32(Console.ReadLine());
|
||||
Console.WriteLine("Input second number");
|
||||
int B = Convert.ToInt32(Console.ReadLine());
|
||||
Console.WriteLine("Step: " + pract.stepNum(A, B));
|
||||
break;
|
||||
|
||||
default:
|
||||
Console.WriteLine("Wrong task");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user