#include <stdio.h>#include <string.h>
int main() { char english[lbk]100[rbk], chinese[lbk]100[rbk]; printf("Enter an English word: "); scanf("%s", english); if (strcmp(english, "hello") == 0) { strcpy(chinese, "你好"); } else if (strcmp(english, "world") == 0) { strcpy(chinese, "世界"); } else { strcpy(chinese, "Unknown word"); } printf("The Chinese translation is: %s\n", chinese); return 0;


int main() { char english[lbk]100[rbk], chinese[lbk]100[rbk]; printf("Enter an English word: "); scanf("%s", english); if (strcmp(english, "hello") == 0) { strcpy(chinese, "你好"); } else if (strcmp(english, "world") == 0) { strcpy(chinese, "世界"); } else { strcpy(chinese, "Unknown word"); } printf("The Chinese translation is: %s\n", chinese); return 0;

