#include <stdio.h>
int main() {
    int ctr, salary, EMP_80= 0;
    int total_payroll = 0; 
    printf("Enter the monthly salary for each of the 10 employees:\n");
    for (ctr = 1; ctr <= 10; ctr++) {
        printf("Enter salary for employee #%d: ", ctr);
        scanf("%d", &salary);
        if (salary >= 80) {
            EMP_80++;
        }
        total_payroll += salary;
    }
    printf("\nNumber of employees receiving a monthly salary of 80 and above = %d\n", EMP_80);
    printf("Total monthly salary or payroll paid out by the company = %d\n", total_payroll);
    return 0;
}

    