Create a simple Java application to manage student information. The application should have a text-based interface. The application should prompt the user for the following information: Full Name, Degree, and Points. The user should be able to continuously enter student data until an exit key is pressed (se the algorithm below). After the student has entered the student data the application should display all student data entered. Algorithm 1 Ask if the user if wants to stop entering data 2 Do the following until the student wants to stop entering data 2.1 Prompt the user to enter data for a new student 2.2 Save the new student data 2.3 Ask if the user wants to stop entering data 2 Show all student data entered 3 Exit program Example input: Text in bold is entered by the user Do you want to continue (y/n) ? y Enter the student's name: John Smith Enter the student's degree: Computer Science Enter the student's points: 125 Do you want to continue (y/n) ? y Enter the student's name: Edward Jones Enter the student's degree: Mathematics Enter the student's points: 80 Do you want to continue (y/n) ? n Output: Student's Name Student's Degree Student's Points John Smith Computer Science 125 Edward Jones Mathematics 80.
- Create a simple Java application to manage student information.
The application should have a text-based interface. The application should prompt the user for the following information: Full Name, Degree, and Points. The user should be able to continuously enter student data until an exit key is pressed (se the
Algorithm
1 Ask if the user if wants to stop entering data
2 Do the following until the student wants to stop entering data
2.1 Prompt the user to enter data for a new student
2.2 Save the new student data
2.3 Ask if the user wants to stop entering data
2 Show all student data entered
3 Exit program
Example
input:
Text in bold is entered by the user
Do you want to continue (y/n) ? y
Enter the student's name: John Smith
Enter the student's degree: Computer Science
Enter the student's points: 125
Do you want to continue (y/n) ? y
Enter the student's name: Edward Jones
Enter the student's degree: Mathematics
Enter the student's points: 80
Do you want to continue (y/n) ? n
Output:
Student's Name Student's Degree Student's Points
John Smith Computer Science 125
Edward Jones Mathematics 80.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images