Prolog program for weather
% problem 5 – Implement get_weather, which first prints a message: % ‘Enter hot, sun, rain, snow or stop.’ Then it starts a loop, % in which it prints the prompt and reads the user’s input. % If the user enters stop the loop ends. Else, if the % user entered one of the […]