Console Programming/C# Console
성적입력 프로그램 1일차
폰타인
2019. 9. 23. 18:07
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
51
52
53
54
55
56
57
58
59
60
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Syntax10
{
struct studentList
{
public int index;
public string studentName;
public string scoreKorean;
public string scoreMath;
public string scoreEnglish;
};
class Program
{
static void Main(string[] args)
{
for (; ; )
{
//Console.WriteLine("1. 조회");
//Console.WriteLine("2. 추가");
//Console.WriteLine("3. 수정");
//Console.WriteLine("4. 삭제");
//Console.WriteLine("5. 종료");
//string selectMenu = Console.ReadLine();
//if (selectMenu == "1")
//{
// Console.WriteLine($"Total Student: {totalStudent}");
// Console.WriteLine();
// Console.WriteLine("+----+----------------+------+------+------+------+");
// Console.WriteLine("|번호| 학생명 | 국어 | 수학 | 영어 | 평균 |");
// Console.WriteLine("+----+----------------+------+------+------+------+");
//}
//else if (selectMenu == "2")
//{
//}
//else if (selectMenu == "3")
//{
//}
//else if (selectMenu == "4")
//{
//}
//else
//{
// break;
//}
}
}
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
|