Please code in Java
Posted: Fri Jul 01, 2022 5:51 am
Please code in Java
Challenge Exercise #2: Complete the following program below, the program will ask how many friend and write the friends name in a text file. Program Output with Example Input Shown in Bold How many friends do you have? 5 [Enter] Enter the filename: MyFriends.txt [Enter] Enter the name of friend number 1: Joe [Enter] Enter the name of friend number 2: Rose [Enter] Enter the name of friend number 3: Greg [Enter] Enter the name of friend number 4: Kirk [Enter] Enter the name of friend number 5: Renee [Enter] Data written to the file. #2 print screen the output with code below here.
Challenge Exercise #2: Complete the following program below, the program will ask how many friend and write the friends name in a text file. Program Output with Example Input Shown in Bold How many friends do you have? 5 [Enter] Enter the filename: MyFriends.txt [Enter] Enter the name of friend number 1: Joe [Enter] Enter the name of friend number 2: Rose [Enter] Enter the name of friend number 3: Greg [Enter] Enter the name of friend number 4: Kirk [Enter] Enter the name of friend number 5: Renee [Enter] Data written to the file. #2 print screen the output with code below here.