Write a program that asks the user to enter their name and a letter. The program should then use this information to output the string “ guessed the letter ”, where is the name entered by the user and is the lowercase form of the letter entered by the user. tip: make use of the method .lower() Example: Enter your name: Jane Doe Guess a letter: A Jane Doe guessed the letter a

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 4GZ
icon
Related questions
Question

Write a program that asks the user to enter their name and a letter. The program should then use this information to output the string “<your name> guessed the letter <lowercase letter>”, where <your name> is the name entered by the user and <lowercase
letter> is the lowercase form of the letter entered by the user.
tip: make use of the method .lower()

Example:
Enter your name: Jane Doe
Guess a letter: A
Jane Doe guessed the letter a

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT