• This project
    • Loading...
  • Sign in

김정은 / opensource

%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
  • opensource
  • A
  • echo_program.cpp
  • 김정은's avatar
    add exit_function · ad04d511
    ad04d511 Browse Files
    김정은 authored 2017-09-22 12:20:25 +0900
echo_program.cpp 286 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 26 27 28
//echo program

#include<iostream>
using namespace std;


int main(){

  string a;
  cout<<"입력하세요 쓰고싶은 단어 : " ;
  cin>>a;

  if( a=="exit")
      exit(100);


  else{


  cout<<"당신이 입력한 단어는 <"<<a<<" >입니다"<<endl;
  }



  return 0;
}

//add