3일차 당신이 좋아하는 과일의 이름은 무엇입니까?

Console Programming/C# Console 2019. 9. 20. 10:10

당신이 좋아하는 과일의 이름은 무엇입니까? //입력받기 "딸기"

오! 당신은 딸기를 좋아하시는군요.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Syntax05
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("당신이 좋아하는 과일은 무엇입니까?");
            string input = Console.ReadLine();
            Console.WriteLine($"오! 당신은 {input}을 좋아하시는군요.");
        }
    }
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

 

: