#include #include #include int main(){ char* path_value = getenv("PATH"); printf("The current path is: %s\n", path_value); printf("The current shell is: %s\n", getenv("SHELL")); char *lemval = getenv("LEMUR"); if(lemval){ printf("Variable LEMUR was set! It's value was %s\n", lemval); if(strcmp(lemval,"gerbil") == 0){ printf("Value is correct!\n"); } else { printf("That's not the right value for lemur, please try again\n"); } } else { printf("LEMUR wasn't set\n"); } return 0; }