š How this program works
- Click the button below to begin
- You will be prompted to enter the salary of 5 employees one by one
- The program calculates: Total, Median, Product, Smallest, and Largest values
- All results are displayed in a single alert dialog box (as required)
- This demonstrates core JavaScript concepts: prompts, arrays, loops, sorting, and mathematical operations
Recommended sample inputs for clean video demo: 1200, 1500, 1800, 2100, 2400 (product stays readable)