• This project
    • Loading...
  • Sign in

김다솔 / lab2-assignment2

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • lab2-assignment2
  • EchoProgram.cpp
  • 김다솔's avatar
    Echo program file committed · 4af6ab93
    4af6ab93 Browse Files
    김다솔 authored 2020-09-25 15:51:24 +0900
EchoProgram.cpp 401 Bytes
Raw Blame History Permalink
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
// 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다.
#include<iostream>
using namespace std;

void EchoProgram()
{
    string words;

    cout << "Enter what you want to say : ";
    cin >> words;
    cout << "\n\"" << words << "\"\n\n";

    return;
}

int main()
{
    while (1)
    {
        EchoProgram();
    }

    return 0;
}