#include <stdio.h>
#include <string.h>
int main()
{
char str[2];
char st[4543] = "whats the problem";
char sr[4543] = "internet";
char ste[4543] = "router";
char sty[4543] = "stfu";
char stee[4543] = "try another input";
printf("type hi :" , str);
scanf("%s" , str);
if (!strcmp(str, "hi"))
{
printf("%s \n %s \n %s", st, sr, ste);
}
else
{
printf("%s", sty);
}
return 0;
}
No comments:
Post a Comment