Meredith teaches fourth grade and she knows her students are tired of being forced to sit in alphabetical order by last name. To spice things
Meredith teaches fourth grade and she knows her students are tired of being forced to sit in alphabetical order by last name. To spice things up, she thought she would have them pick their seats. But to prevent complete chaos, she decided to assign seats based on the following chart she made: Row 1: E-J Row 2: K-Q Row 3: U-Z Row 4: A-D Row 5: R-T Students would sit in the row that contains the first character of the students last name. An example program run is shown below: Enter the student's first and last names: Elizabeth Boese Elizabeth can sit anywhere in row 4
Goal: Write a program that takes as input a students full name (first last) and prints out the row the student should be in.
(This program is needed in java code please)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started