Design a java program that asks for the number of students registered

profileadelen
 (Not rated)
 (Not rated)
Chat

Design a java program that asks for the number of students registered in a course. The user should be prompted to enter the number of students enrolled in a course. If the number of students is greater than 0, use a counter-controlled while loop to prompt the user to enter the names of the students registered for the class. Create an output file that contains the names of the students in the class. Display a message to the user when the program is complete.

 

 

Write a java program based on the design you created above. Enter your program and name it Roster1.java. Name your output file student1.dat.

    • 9 years ago
    the answer
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      new655.zip