I need the following question, please see the output below. Write a program named CharacterChange.java that creates a va

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I need the following question, please see the output below. Write a program named CharacterChange.java that creates a va

Post by answerhappygod »

I need the following question, please see the outputbelow.
Write a program named CharacterChange.java that creates avariable with the character data type. Initialize the variable to acharacter that represents the letter grade you hope to achieve inthis course
. • Use if statements and methods, isLowerCase( ) &isUpperCase( ), of the Character class to determine if the value ofthe variable is uppercase or lowercase.
• Use toLowerCase( ) or toUpperCase( ) method of the characterclass to show the value of your variable in uppercase andlowercase.
• The output is the following:
The expected letter grade is A
A is uppercase
A is not lowercase
After toLowerCase(), letter grade is a
After toUpperCase(), letter grade is A
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply