When I type hk on the Output, it did not say HONG KONG, It just say INPUT ERROR everytime.
char dc,ds[15];
int main(int argc, char *argv[]) {
p("Destination Code: ");
s("%s", &dc);
if(dc=="hk"){
strcpy(ds, "HONG KONG");
}
else{
strcpy(ds, "INPUT ERROR");
}
p("Destination: %s", ds);
return 0;