Showing
1 changed file
with
20 additions
and
19 deletions
| 1 | -#include<stdio.h> | 1 | + #include<stdio.h> |
| 2 | -#include<string.h> | 2 | + #include<string.h> |
| 3 | - | 3 | + |
| 4 | -void exitfunc() | 4 | + void exitfunc() |
| 5 | -{ | 5 | + { |
| 6 | - char a[80]; | 6 | + char a[80]; |
| 7 | - | 7 | + |
| 8 | - do{ | 8 | + do{ |
| 9 | - scanf("%s",a); | 9 | + scanf("%s",a); |
| 10 | - }while(strcmp("exit",a)); | 10 | + }while(strcmp("exit",a)); |
| 11 | -}//C | 11 | + }//C forgot branch |
| 12 | - | 12 | + |
| 13 | -int main(){ | 13 | + int main(){ |
| 14 | - printf(" push push baby\n Type exit to exit\n"); | 14 | + printf("push push baby\n"); |
| 15 | - | 15 | + printf(" push push baby\n Type exit to exit\n"); |
| 16 | - exitfunc(); | 16 | + |
| 17 | - | 17 | + exitfunc(); |
| 18 | - return 0; | 18 | + |
| 19 | -} | 19 | + return 0; |
| 20 | + } | ... | ... |
-
Please register or login to post a comment