#include<stdio.h>
#include<string>
#include<windows.h>
int main()
{
char str[3];
int flag=1;
flag:printf("Do you love me?
");
scanf("%s",str);
if(strcmp(str,"no")!=0&&strcmp(str,"NO")!=0)
{
printf(" !!!
");
goto flag;
}
while(strcmp(str,"yes")!=0&&strcmp(str,"YES")!=0)
{
flag=0;
printf("I will be waiting for you
");
Sleep(100);
printf("
");
printf("after a long time...
");
printf("Do you love me?
");
scanf("%s",str);
}
if(flag==1)
printf("I love you,too
");
else
printf("I don't love you anymore
");
system("pause");
return 0;
}