Question: some help please? A github-dassroom[bot] public static void main(String[] args) { 11 Step 1 - Print out a welcone message and instructions 1/ Step 2
A github-dassroom[bot] public static void main(String[] args) \{ 11 Step 1 - Print out a welcone message and instructions 1/ Step 2 - In a Loop, collect each attendee nane and store it in a list II Step 3 - When they enter a blank name, then stop Looping II Step 4 - Iterate over the attendee list to create the output string (using StringBuilder I) 11 II Note that there are three distinct formats for the output string depending on the number of attendees 1/ More than 2 attendees: II You have invited: Lestie Knope, April Ludgate, and Ron Swanson If II Exactly 2 attendees: II You have invited: Lestie Knope and Ron Swanson If II Onty 1 attendee: If You have invited: Leslie knope 11 II Your output should exactly match the way these are formatted with spaces, comnas, and the "and" If Your Code Here 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
