Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 and 2 using java C https://d Chur bum GradeSuitch.java Write a program that uses a switch statement to print out letter grades, given

image text in transcribed

Question 1 and 2 using java

C https://d Chur bum GradeSuitch.java Write a program that uses a switch statement to print out letter grades, given the numeric grade. Do not write 100 eas statements. Rather, take advantage of nteger division, so that you only have to wnte or 6 case statements. lhe grading scheme is: Percent Lette to 100 80 to 89 B 0 to 79 to 69 below 60 Exanple Program Run: Fnter grade: 6 Leller grade is B Submission instructions: Run this CodcCheck and then show me that it passes. 2. [stringMethods1.java] Write this program that demonstrates the capabilities of thc String methods that we covered in class. Have the program input the user's full namc Then output: 1. the length of the user's full name 2. his/her first and last character 3. the first na uppercased 4. the last name lowercased 5. the letter number (not position) of the firsti n the name. If there is no i, output an error message rather than the value 1. (See my example input/output.) Be sure to test that your program works with names of different lengths. You may assume that al input names are "well-formed", meaning that they do have one and only one pace Exanple Input Cutput t1 what is your ful1 nane? Rich Burns Leiglh: 18 First character: R Last character: s First nanc Last nane lowercasad: burns First i: letter numher 2 upparcased: RICH Exdmple Input/Output #2: hat is your full nane? Brett Brown O Type here to search 0347 PM 3/11/2019

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

Recommended Textbook for

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago