Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _1._9._11.Multiplication_Table_2._0
- {
- class Program
- {
- static void Main(string[] args)
- {
- int firstNum = int.Parse(Console.ReadLine());
- int secondNum = int.Parse(Console.ReadLine());
- for (int i = secondNum; i <= 10; i++)
- {
- Console.WriteLine($"{firstNum} X {i} = {firstNum * i}");
- }
- if (secondNum > 10)
- {
- Console.WriteLine($"{firstNum} X {secondNum} = {firstNum*secondNum}");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment