Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imadnajam/l4g
Get Familiar with L4G Syntax
https://github.com/imadnajam/l4g
Last synced: 4 days ago
JSON representation
Get Familiar with L4G Syntax
- Host: GitHub
- URL: https://github.com/imadnajam/l4g
- Owner: Imadnajam
- Created: 2024-04-09T10:45:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-03T16:54:35.000Z (9 months ago)
- Last Synced: 2024-05-03T19:15:30.718Z (9 months ago)
- Homepage:
- Size: 3.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Employee Salary Analysis
## Overview:
This L4G program analyzes employee salary data stored in a file and performs the following tasks:
1. Calculates the average salary of employees.
2. Identifies high earners whose salary exceeds the average.
3. Recommends promotions for employees whose salary is below 80% of the average.## Usage:
1. Ensure that the L4G interpreter is installed on your system.
2. Place the `employee_salary_analysis.l4g` file in the desired directory.
3. Ensure that the employee data file (`EMPLOYEE`) is available in the appropriate location.
4. Run the program using the L4G interpreter.## Instructions:
1. Open a terminal or command prompt.
2. Navigate to the directory containing the `employee_salary_analysis.l4g` file.
3. Run the program by executing the following command:
4. Follow the on-screen instructions to view the analysis results.## Sample Output:
Average Salary: 50000
High Earners:
John Doe: 60000
Jane Smith: 55000
Promotion recommended for Michael Johnson## Notes:
- This program assumes that the employee data is stored in a file named `EMPLOYEE`. Please ensure that the file exists and is properly formatted.
- Adjustments may be required to the file paths and data formats based on your specific environment and requirements.
- Feel free to modify the program to suit your needs or extend its functionality as necessary.