Need to develop with java.
Can someone explain me to build this code, what i need to do and the requirements that need to be satisfied.
Tutora is an educational institute which provides education and
research to country. Currently their entire business process is
operated with books and emails. As a startup company your group has
been hired to automate the manual process of Tutora. The following
main business requirements has been discussed by the client. Implement
a java Swing Application to automate the business requirements.
1. Manage Student Registration Issues (Add,Update,Remove)
2. Manage Examination issues (Add,Update,Remove)
3. Manage Courses.
4. Manage Technical inquires related to exams.
5. Allocate employees to student inquires.
6. Monthly Reports related to student inquires.
7. Send notification to the students when the student inquiry has been
sorted
8. Send notification to Employees when a new inquiry has been raised
via email.
import java.util.Scanner;
public class Tutora {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Enter number which you want to change");
int a;
System.out.println("Enter 1: for Manage Student");
System.out.println("Enter 2: for Manage Examination");
System.out.println("Enter 3: for Manage Courses");
System.out.println("Enter 4: for Manage Technical inquires related to exams");
System.out.println("Enter 5: for Allocate employees to student inquires");
System.out.println("Enter 6: for Monthly Reports related to student inquires");
System.out.println("Enter 7: for Send notification to the students when the"+
"student inquiry has beensorted");
System.out.println("Enter 8: for Send notification to Employees when a new"+
"inquiry has been raised via email.");
Scanner sc=new Scanner(System.in);
a=sc.nextInt();
switch(a){
case 1:
System.out.println("You are welcome in Manage Student section:");
System.out.println("Enter 1: For add student");
System.out.println("Enter 2: For update student");
System.out.println("Enter 3: For delete student");
int b;
b=sc.nextInt();
switch(b){
case 1:
System.out.println("Student added");
break;
case 2:
System.out.println("Student updated");
break;
case 3:
System.out.println("Student Deleted");
break;
default:
System.out.println("Entered option is incorrect.");
}
break;
case 2:
System.out.println("You are welcome in Manage examination issue:");
System.out.println("Enter 1: For add examination issue");
System.out.println("Enter 2: For update examination issue");
System.out.println("Enter 3: For delete examination issue");
int c;
c=sc.nextInt();
switch(c){
case 1:
System.out.println("Examination issue added");
break;
case 2:
System.out.println("Examination issue updated");
break;
case 3:
System.out.println("Examination issue Deleted");
break;
default:
System.out.println("Entered option is incorrect.");
}
break;
case 3:
System.out.println("You are welcome in Manage Courses.");
break;
case 4:
System.out.println("You are welcome in Manage Technical inquires related to exams.");
break;
case 5:
System.out.println("You are welcome in Allocate employees to student inquires.");
break;
case 6:
System.out.println("You are welcome in Monthly Reports related to student inquires.");
break;
case 7:
System.out.println("You are welcome in Send notification to the students "
+ "when the student inquiry has been sorted");
break;
case 8:
System.out.println("You are welcome in Send notification to Employees"+
" when a new inquiry has been raised via email.");
break;
default:
System.out.println("Please enter the correct input.");
}
}
}
Comments
Leave a comment