C
c
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
// https://www.sololearn.com/Discuss/2947815/can-anybody-tell-me-how-can-i-find-who-is-getting-salary-up-to-4000-thousand-tell-me-what-i-am-doing
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Create the student structure
struct Employee {
int emp_id;
char* name;
float salary;
};
// Driver code
int main() {
int i=0, n=3, high=-1;
// Create the student's structure variable
// with n Student's records
struct Employee employee[n];
// Get the students data
employee[0].emp_id = 1;
employee[0].name = "Ajay";
employee[0].salary = 4897;
employee[1].emp_id = 5;
employee[1].name = "Vijay";
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run