I am going to answer your question. However I think this is not your problem.
Code:
#include <stdio.h>
#include <string.h>
int main(void)
{
char city[15];
printf("Input please\n");
// Read up to the length of city (%15s)
scanf("%15s", city);
if(strcmp(city, "Athens") == 0)
{
printf("Γεία σου!\n");
}
else if(strcmp(city, "Munich") == 0)
{
printf("Hallo\n");
}
else if(strcmp(city, "Milan") == 0)
{
printf("Ciao\n");
}
else if(strcmp(city, "Sydney") == 0)
{
printf("Hello\n");
}
else
{
printf("Unknown city\n");
}
return 0;
}
For ref for strcmp click here.