2739 구구단

Console/Algorithm 2019. 9. 30. 08:57
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            {
                int a = int.Parse(Console.ReadLine());
                for(int b = 1; b < 10; b++)
                {
                    Console.WriteLine($"{ a} * { b} = {a*b}");
                }
            }
        }
    }
        
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

'Console > Algorithm' 카테고리의 다른 글

1546 평균  (0) 2019.10.15
2577 숫자의 개수  (0) 2019.10.15
10817 세수  (0) 2019.09.28
2753 윤년  (0) 2019.09.27
1330 두 수 비교하기  (0) 2019.09.27