Lab Goal : Lab Description : :ThanksSample Data : Jim BobComputer ScienceUIL TCEAState Champions
This lab was designed to teach you more about the String class and how if statements are used.
Given a two word String, print the original string on the screen. Next, uppercase the original string and print the new string on the screen. Finally, add a - hyphen between the two words that make up the current string and print the new string on the s../@whsTeachers/WordFun#Main.java Here is the link to the Tester Class and the WordFun Class. Use these files to help you get started with coding. ** Also if you do fork the link that I gave you, when you figure out the prompt, could you please send me your link.
Hello World
Sample Output :
Hello World
HELLO WORLD
HELLO-WORLD
Jim Bob
JIM BOB
JIM-BOB
Computer Science
COMPUTER SCIENCE
COMPUTER-SCIENCE
UIL TCEA
UIL TCEA
UIL-TCEA
State Champions
STATE CHAMPIONS
STATE-CHAMPIONS
261,329 students got unstuck by Course
Hero in the last week
Our Expert Tutors provide step by step solutions to help you excel in your courses