Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

https//elearn.uta.edu/bbcswebdav/pid-8056946-dt-content-rid-138257594 2/courses/2192-INTRO-cOMPUTERS--PROGRA sea (20 points) Problem 3-Write a program. MonthsToNumbers java Write a program that: The program asks the user to specify the name of

image text in transcribed
https//elearn.uta.edu/bbcswebdav/pid-8056946-dt-content-rid-138257594 2/courses/2192-INTRO-cOMPUTERS--PROGRA sea (20 points) Problem 3-Write a program. MonthsToNumbers java Write a program that: The program asks the user to specify the name of a month. It should not make a difference whether any letter in the name appears in lower case or upper case, all such variations should be accepted by the program. . If the user entered correctly the name of a month, the program prints out the month name and the order of that month in the year (e.g., January is the first month, July is the seventh month, and so on). Note that when the program prints out the month name, the first letter of the month name should be capitalized, and all other letters should be in lower case. . If the user enters a name that is not recognized, the program prints out "Unknown month:" and the name entered by the usey. Note that the name entered by the user should be printed exactly as entered by the user (with no conversions of any letters to upper or lower case). Example Program Run 1: Please enter the name of a month: juNE June is the sixth month. Example Program Run 2: Please enter the name of a month: SUMmer Unknown month: SUMmer Example Program Run 3: Please enter the name of a month: May May is the fifth month. 130 pointcl Problem 4-Write a program Suhmit GiftWran.iava

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions