using System;
class Program
{
static void Main()
// Prompt the user to enter a number
Console.Write("Enter a number: ");
int number = Convert.ToInt32(Console.ReadLine());
// Display the multiplication table
Console.WriteLine("Multiplication table for " + number + ":");
// Generate and print the multiplication table using a for loop
for (int i = 1; i <= 10; i++)
Console.WriteLine(number + " x " + i + " = " + (number * i));
}