using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Multiplication { class Program { static void Main(string[] args) { string a; string b; Console.WriteLine("a&b:"); a = Console.ReadLine(); b = Console.ReadLine(); int a1 = Int32.Parse(a); int b1 = Int32.Parse(b); int c = a1 * b1; Console.WriteLine("result:" + c.ToString()); Console.ReadKey(); } } }
تصویر خروجی برنامه ی ضرب(Multiplication):