When I run the code, put it 'yes', the code does not print 'Hi'. How can this be fixed?
Code:#include <stdio.h> #include <math.h> #include <string.h> #include <ctype.h> char command[100]; int main(void) { printf("Please Enter 'yes' or 'no' :: "); scanf("%s",&command); if(command == "yes") { printf("Hi"); } }