Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. char c;
  5. //Intro
  6. printf("... Can you hear me? ");
  7.  
  8. //get player input
  9. scanf("%c", &c);
  10.  
  11. if(c=='y' || c=='Y'){
  12. printf("You wake up in a world you've never seen before");
  13. } else{
  14. printf("you pass into the darkness");
  15. return -1;
  16. }
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement