FAtechs is a Web Site where you can find a lot of things related to tech and Education. Our Posts are mostly about Programming, Information, Technology,Software, Reviews & Everything You need to Know. You can also find Books and Novels here. Your appreciation and criticism will be welcomed.

How to make a Table Generator in C# with upper and lower limit

Making a Table Generator in C# for loop:

Making a table generator in C# with user defined Upper limit and Lower limit using For Loop is not a big task, It is simple and easy that you will learn easily through code. To do this we will ask user the number to generate the table of, the upper limit and the lower limit and will generate the table using for loop.

Code:

classProgram

{

staticvoid Main(string[] args)

{

Console.WriteLine("Please
enter the number whose table you wish to display");

int num = Convert.ToInt32(Console.ReadLine()); // taking number of whoch table will be generated