김다솔

Echo program file committed

1 +// 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다.
2 +#include<iostream>
3 +using namespace std;
4 +
5 +void EchoProgram()
6 +{
7 + string words;
8 +
9 + cout << "Enter what you want to say : ";
10 + cin >> words;
11 + cout << "\n\"" << words << "\"\n\n";
12 +
13 + return;
14 +}
15 +
16 +int main()
17 +{
18 + while (1)
19 + {
20 + EchoProgram();
21 + }
22 +
23 + return 0;
24 +}
25 +