Page 1 of 1

Please code in Java

Posted: Fri Jul 01, 2022 5:51 am
by answerhappygod
Please code in Java
Please Code In Java 1
Please Code In Java 1 (72.84 KiB) Viewed 33 times
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.