Help me Subject java (Input month name output number of days)
user for an input 1-12 for a month, and it outputs the number of days in that month.
The modifications would make it so that the user inputs the name of the month instead of the value, and the program outputs the number of days.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"

Post what you have done so far and someone will help you from there.

make a database, containing the information you need. Then use the user input to query that database and get the data you need to return.

Or just keep a list of things in memory, for something trivial like this that's much easier.