Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp3
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- //INPUT
- string inputNumberString = Console.ReadLine();
- //ACTION
- int symbol1 = int.Parse(inputNumberString[2].ToString());
- int symbol2 = int.Parse(inputNumberString[1].ToString());
- int symbol3 = int.Parse(inputNumberString[0].ToString());
- for (int a = 1; a <= symbol1; a++)
- {
- for (int b = 1; b <= symbol2; b++)
- {
- for (int c = 1; c <= symbol3; c++)
- {
- Console.WriteLine($"{a} * {b} * {c} = {a*b*c}");
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement