2019-09-19
Console(콘솔)/실습 2019. 9. 19. 11:34
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Syntax1
{
class Program
{
static void Main(string[] args)
{
//Console.WriteLine("Hello World!");
for (int i = 0; i < 10; i++)
{ Console.WriteLine("Hello World!"); }
Console.WriteLine(" ");
for (int w = 1; w < 13; w++)
{ Console.WriteLine(w + "월"); }
Console.WriteLine(" ");
string a = "2 * ";
for (int i = 1; i < 10; i++)
{
Console.Write(a); Console.Write(i); Console.Write(" = "); Console.WriteLine(i * 2);
}
Console.WriteLine(" ");
for(int c = 1; c < 6; c++)
{
for(int v = 0; v < c; v++)
{
Console.Write("*");
}
Console.WriteLine();
}
}
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter
|
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs |

2019-09-19
'Console(콘솔) > 실습' 카테고리의 다른 글
*** 상품목록2 *** (0) | 2019.09.23 |
---|---|
*** 상품목록 *** (0) | 2019.09.23 |
2019-09-20 (0) | 2019.09.20 |
2019-09-20 (0) | 2019.09.20 |
2019-09-20 (0) | 2019.09.20 |