• This project
    • Loading...
  • Sign in

김준수 / exp4_assignment

%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
  • exp4_assignment
  • echo.c
  • 김준수's avatar
    exit function by C · 33d200c1
    33d200c1
    김준수 authored 2019-10-04 19:24:33 +0900
echo.c 216 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include<stdio.h>
#include<string.h>

void exitfunc()
{
	char a[80];
	
	do{
	scanf("%s",a);
	}while(strcmp("exit",a));
}//C

int main(){
	printf(" push push baby\n Type exit to exit\n");
	
	exitfunc();

	return 0;
}