public static void main (String[] args)
	{
		//variable declarations
		int temperature;
		String activity = new String();
		Scanner scan = new Scanner(System.in);
		
		//prompts user for temperature
		System.out.print("What is the current temperature?\t");
		temperature = scan.nextInt();
		
		//if temperature is not good for activities, tell user to visit shops
		if (temperature > 95 || temperature < 20)
		{
			System.out.println("Visit our shops!");
		}
		else
		{
			if (temperature >= 80)
			{
				activity = "swimming";
			}
			else
			{
				if (temperature >= 60)
				{
					activity = "tennis";
				}
				else
				{
					if (temperature >= 40)
					{
						activity = "golf";
					}
					else
					{
						activity = "skiing";
					}
				}
			}
		System.out.println("The suggested activity for today is " + activity + ".");
		}
	}