Assignment 21 Due Thursday, March 18 at 11:20am on CanvasStep 1: Be Ready to Join a Zoom meeting on Thursday from 11:30am-12:00pm. Step 2: Complete the below Assignment to be submitted on Canvas: Assignment 21.1: Tracking Customers (10 pts)
/** * @author * */ import java.util.Scanner; //add an import statement here public class TrackCustomers { /** * Write the javadoc comment for extractInitial here */ public static char extractInitial(String customer) { return '\0'; //replace this line when you write the method } /** * Write the javadoc comment for printArray here */ public static void printArray(String[] customers) //update signature of method { return; } public static void main(String[] args) { String name, gender; final int ARRAY_SIZE; final String INPUT_FILE; final String OUTPUT_FILE; System.out.println("Welcome to Customer Tracker!\n"); //Use a while loop and hasNextLine() - required! } }
Welcome to Customer Tracker! Enter the name of the input file: customers1.txt Enter the name of the output file: updated.txt Thank you! The customer information has been written to updated.txt! Please open the file to see the information.
15 Barbara Stanton F Timoteo Martinez M Ally Gu O Xing Xiao M Dung Kim F Tanya White F Alan Ngo M Abir Fadel M Nataly Luna F Charles Atkinson M Stacey Cahill O Stephanie Teatro F Ping Li M June Park F Binh Nguyen M
Ms. B. Stanton Mr. T. Martinez Mx. A. Gu Mr. X. Xiao Ms. D. Kim Ms. T. White Mr. A. Ngo Mr. A. Fadel Ms. N. Luna Mr. C. Atkinson Mx. S. Cahill Ms. S. Teatro Mr. P. Li Ms. J. Park Mr. B. Nguyen
19 Jiming Wu M James Brown M Liana Perez F Xing Li M Stacey Cahill O Mohammed Abbas M Kumari Chakrabarti F Shakil Smith M Jung Ahrin O Pedro Martinez M Madison Wong O Tamara White F Alvin Ngo M Abir Fadel M Brad Feinman M Xiaohang Yue M Triana Brown F Anh Bao F Katiya Ivankova F
Mr. J. Wu Mr. J. Brown Ms. L. Perez Mr. X. Li Mx. S. Cahill Mr. M. Abbas Ms. K. Chakrabarti M. S. Smith Mx. J. Ahrin Mr. P. Martinez Mx. M. Wong Ms. T. White Mr. A. Ngo Mr. A. Fadel Mr. B. Feinman Mr. X. Yue Ms. T. Brown Ms. A. Bao Ms. K. Ivankova |