mirror of
https://github.com/svek95/programming_GB.git
synced 2026-05-18 02:51:45 +03:00
add seminar 4
This commit is contained in:
@@ -97,7 +97,23 @@ public class Start
|
|||||||
Console.WriteLine("Resault is:");
|
Console.WriteLine("Resault is:");
|
||||||
pract.Quad(number);
|
pract.Quad(number);
|
||||||
break;
|
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:
|
default:
|
||||||
Console.WriteLine("Wrong task");
|
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