Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- #include <string.h>
- int main(void)
- {
- char answer1[10] = {'\0'};
- @@{
- printf("What is the capital of Ireland? ");
- scanf("%s", answer1);
- while(strcmp(answer1, "Dublin")){
- printf("Incorrect, what is the capital of Ireland?")
- @@ missing one
- getchar();
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement