mirror of
https://github.com/svek95/programming_GB.git
synced 2026-05-17 18:41:44 +03:00
add practic
This commit is contained in:
@@ -65,6 +65,9 @@
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ public class Start
|
|||||||
{
|
{
|
||||||
static void Main()
|
static void Main()
|
||||||
{
|
{
|
||||||
Console.Write("HW or Practic: ");
|
Console.Write("HW (1) or Practic (2): ");
|
||||||
int taskNumver = Convert.ToInt32(Console.ReadLine());
|
int taskNumver = Convert.ToInt32(Console.ReadLine());
|
||||||
switch (taskNumver)
|
switch (taskNumver)
|
||||||
{
|
{
|
||||||
@@ -68,11 +68,19 @@ public class Start
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
|
// Console.WriteLine();
|
||||||
|
Console.WriteLine("Input X");
|
||||||
|
int X = Convert.ToInt32(Console.ReadLine());
|
||||||
|
Console.WriteLine("Input Y");
|
||||||
|
int Y = Convert.ToInt32(Console.ReadLine());
|
||||||
|
Console.WriteLine("Quarter is: " + pract.WhereDot(X, Y));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
|
Console.WriteLine("Input number: ");
|
||||||
|
int number = Convert.ToInt32(Console.ReadLine());
|
||||||
|
Console.WriteLine("Resault is:");
|
||||||
|
pract.Quad(number);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
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