Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
modified
//C# Program Multiplication Table of Given Number //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 //console.read is used to take input //when funcion and class has same name then it is a static function. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int j,n; Console.Write("\n\n"); Console.Write("Display the multiplication table:\n"); Console.Write("-----------------------------------"); Console.Write("\n\n"); Console.Write("Input the number (Table to be calculated) : "); n= Convert.ToInt32(Console.ReadLine()); Console.Write("\n"); for(j=1;j<=10;j++) { Console.Write("{0} X {1} = {2} \n",n,j,n*j); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
count number of words in string
Конструктор классов + static
NumsToVars
Map usernames from domain\username format to username@domain.com format
up casting down casting
TestApp
Importent Gen_Coverent Example-1
newMultQ working on more2
Problem Name_single_digi
BST
Please log in to post a comment.