Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You will receive an integer as an input from the console. Print the 10 times table for this integer. See the examples below for more information.
- using System;
- namespace _09._Multiplication_Table
- {
- class MultiplicationTable
- {
- static void Main(string[] args)
- {
- int input = int.Parse(Console.ReadLine());
- for (int i = 1; i <= 10; i++)
- {
- Console.WriteLine($"{input} X {i} = {i * input}");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment