- Home /
- Java /
- PRG420 Java Programming I /
- PRG/420 Week 5 Java 5.20 LAB: Acronyms
Details
PRG/420 Week 5 Java 5.20 LAB: Acronyms
An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input.
Ex: If the input is Institute of Electrical and Electronics Engineers, the output should be:
IEEE
Your program must define and call a method thats returns the acronym created for the given userPhrase.
public static String CreateAcronym(String userPhrase)
Hint: Refer to the ascii table to make sure a letter is upper case.
Additional Information
Special Price | $3.00 |
---|
Product Tags
Use spaces to separate tags. Use single quotes (') for phrases.
Check items to add to the cart or select all
-
PRG/420 Week 5 Java 5.17 LAB: Max magnitude
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 5 Java 5.19 LAB: Remove spaces - methods
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 5 Java 5.22 LAB: Output values below an amount - methods
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing - methods
Regular Price: $7.00
Special Price $3.00
You have no items in your shopping cart.