import java.util.Scanner;
public class Weather
{
public static void main (String[] args)
{
Scanner crap = new Scanner (System.in);
System.out.print ("What is the temperature today? ");
int moarcrap = crap.nextInt ();
if (moarcrap <= 70)
{
System.out.println ("You can go freeze to death.");
}
else if (moarcrap >=100)
{
System.out.println ("You can go burn to death.");
}
else if (moarcrap >=91)
{
System.out.println ("You are more than welcome to prepare for your burns.");
}
else if (moarcrap >=81)
{
System.out.println ("What a beautiful day to spend it in a classroom full of geeks and nerds.");
}
else if (moarcrap >=71)
{
System.out.println ("Might as well visit the penguins in Antartica.");
}
}
}
public class Weather
{
public static void main (String[] args)
{
Scanner crap = new Scanner (System.in);
System.out.print ("What is the temperature today? ");
int moarcrap = crap.nextInt ();
if (moarcrap <= 70)
{
System.out.println ("You can go freeze to death.");
}
else if (moarcrap >=100)
{
System.out.println ("You can go burn to death.");
}
else if (moarcrap >=91)
{
System.out.println ("You are more than welcome to prepare for your burns.");
}
else if (moarcrap >=81)
{
System.out.println ("What a beautiful day to spend it in a classroom full of geeks and nerds.");
}
else if (moarcrap >=71)
{
System.out.println ("Might as well visit the penguins in Antartica.");
}
}
}
(0) Comments
Post a Comment