Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. void main()
  3. {
  4. char string[] = "enter";
  5. char string2[100];
  6. do
  7. {
  8. printf("Please write 'enter' to continue: ");
  9. gets(string2);
  10. }
  11. while (string2!=string);
  12. printf("Got an ENTER!\n");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement