-
Notifications
You must be signed in to change notification settings - Fork 0
Practice Problem 13
Seanti edited this page Mar 26, 2025
·
1 revision
-
Create a
Studentclass with attributes:-
name(String) -
age(int) -
course(String)
-
-
Use a constructor to initialize these values.
-
In
main(), allow the user to enter details for a student and display the information.
Enter student name: Joshua Cruz
Enter student age: 19
Enter student course: Computer Science
Student Registered Successfully!
Name: Joshua Cruz
Age: 19
Course: Computer Science