#include <stdio.h>

int main(void)
{
	int numEmployees;
	int clockNumber;
	double wageRate;
	double hoursWorked;
	double grossPay;

	/* Ask how many employees to process */
	printf("How many employees do you want to process? ");
	scanf("%d", &numEmployees);

	/* Process each employee */
	for (int i = 1; i <= numEmployees; i++)
	{

		printf("\nEmployee %d\n", i);
		
		printf("Enter clock number: ");
		scanf("%d", &clockNumber);

		printf("Enter wage rate: ");
		scanf("%lf", &wageRate);

		printf("Enter hours worked: ");
		scanf("%lf", &hoursWorked);

		/* Calculate gross pay */
		grossPay = wageRate * hoursWorked;

		/*Display employee information */
		printf("\nClock Number: %d\n", clockNumber);
		printf("Wage Rate: $%.2f\n", wageRate);
		printf("Hours Worked: %.1f\n", hoursWorked);
		printf("Gross Pay: $%.2f\n", grossPay);
	}

	return 0;
}