sanjeet kumar
write a program in for loop to show multiplication table of a given number
By sanjeet kumar in C# on Apr 11 2009
  • Mohamed Somalia
    Feb, 2018 24

    static void Main(string[] args){int n, i;Console.WriteLine("Enter an integer to find multiplication table: ");n = Int32.Parse(Console.ReadLine());for (i = 1; i <= 10; ++i){Console.WriteLine(n + " * " + i + " = " + n * i);}Console.ReadKey();

    • 0
  • Oscar Valles
    Jun, 2009 7

    http://oscarvalles.com/create-multiplication-table-with-c-sharp

    • 0
  • Dhananjay  Kumar
    Apr, 2009 12

    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace stringCont { class Program { static void Main(string[] args) { Console.WriteLine("Enter Number to find Multiplication"); int num = Convert.ToInt32(Console.ReadLine()); for (int i = 1; i <= 10; i++) { int r = num * i; Console.WriteLine(r.ToString()); } Console.Read(); } } } Happy Coding

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS