-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecond_largest_salary.java
More file actions
40 lines (31 loc) · 1023 Bytes
/
second_largest_salary.java
File metadata and controls
40 lines (31 loc) · 1023 Bytes
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
// import java.util.*;
// class Employee{
// int employeeId;
// String employeeName;
// int age;
// char gender;
// double salary;
// public Employee(int employeeId, String employeeName, int age , char gender , double salary){
// this.employeeId = employeeId;
// this.employeeName = employeeName;
// this.age = age;
// this.gender = gender ;
// this.salary = salary;
// }
// }
// public class second_largest_salary {
// public static void main(String[]args){
// Scanner sc = new Scanner(System.in);
// int n = sc.nextInt();
// sc.nextLine();
// Employee [] arr = new Employee[n];
// for(int i =0; i<n ; i++){
// int a = sc.nextInt();
// String b = sc.nextLine();
// int c = sc.nextInt();
// char d = sc.next().charAt(0);
// }
// }
// public static Employee getEmployeeWithSecondLowestSalary(Employee[]arr , ){
// }
// }