-
Notifications
You must be signed in to change notification settings - Fork 6
/
College Admission.java
43 lines (33 loc) · 1.07 KB
/
College Admission.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// College Admission
import java.util.Scanner;
public class Main
{
String name;
char gender;
int mark_HSC, mark_SSLC, Tmark_HSC, Trmark_SSLC;
float mark_Engineering;
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
System.out.println("Applicant name");
String name=sc.nextLine();
System.out.println("Marks obtained in HSC");
int mark_HSC=sc.nextInt();
System.out.println("Total possible marks in HSC");
int Tmark_HSC=sc.nextInt();
System.out.println("Engineering cutoff mark");
float mark_Engineering=sc.nextFloat();
System.out.println("Marks obtained in SSLC");
int mark_SSLC=sc.nextInt();
System.out.println("Total possible marks in SSLC");
int Trmark_SSLC=sc.nextInt();
System.out.println("Gender");
char gender=sc.next().charAt(0);
System.out.println("Your Application has been Submitted
Successfully");
System.out.println("The name of the applicant: "+name);
System.out.println("Engineering Cutoff: "+mark_Engineering);
System.out.println("Applicant gender: "+gender);
System.out.println("All the best for your Career");
}
}