Thank You Kevin!!!
That worked!! below is the code!
import java.util.Scanner;
public class Ifprograms {
public static void main(String[] args)
{
String Mon;
Scanner sc = new Scanner(System.in);
System.out.println("Enter the Month you wish to determine the season : ");
Mon = sc.next();
System.out.println("Mon is " +Mon);
String season;
if (Mon.equals("December")||Mon.equals("January")||Mon.equals("February"))
season = "Winter";
else if(Mon.equals("March")||Mon.equals("April")||Mon.equals("May"))
season = "Spring";
else if(Mon.equals("June")||Mon.equals("July")||Mon.equals("August"))
season = "Summer";
else if(Mon.equals("September")||Mon.equals("October")||Mon.equals("November"))
season = "Autumn";
//System.out.println(Mon+"is in the " +season+ ".")
else
season = "Invalid Month";
System.out.println(Mon+" is in the " +season+ ".");
}
}