From 148134f940165589d8dede288fff319858f8ab33 Mon Sep 17 00:00:00 2001 From: khojianvar Date: Mon, 27 Mar 2023 13:08:12 +0500 Subject: [PATCH] Task6 --- Task/Task/Program.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Task/Task/Program.cs b/Task/Task/Program.cs index a2ce029..6ea40d2 100644 --- a/Task/Task/Program.cs +++ b/Task/Task/Program.cs @@ -4,7 +4,12 @@ internal class Program { static void Main(string[] args) { - Console.WriteLine("Hello, World!"); + Console.Write("Enter which display a multiplication table do want: "); + int num = int.Parse(Console.ReadLine()); + for (int i = 1; i <= 10; i++) + { + Console.WriteLine($"{num} * {i} = {num * i}"); + } } } } \ No newline at end of file