
-----------------------------------
INFERNO2K
Wed Nov 10, 2004 5:05 pm

[C] - Simple problem I assume - displaying one output
-----------------------------------
/* Defined Libraries */

#include 
#include 
#include 

/* Functions outside of Main () */

char another(void) /* Loops the program by asking a question */
{
	char more;
	system("cls");
	printf("*** Do you wish to continue? (Y/N) ***	");
	fflush (stdin);
	scanf("%c", &more);	
	printf("\n");
	return more;
}


int main (void)
{

	int		hours_worked, 
			option, 
			x, 
			y=0,
			more = 'y',
			count = 0;
			
	double grosspay,
			payrate[5],
			holdpay[5];
			
	char	fname[11],
			lname[11],
			holdname[5][22],
			fullname[22];
			
	
while (more =='Y' || more =='y')
{
	system("cls"); 
	
	for (x=0; x