/************************************************************************/
/*                                                                      */
/*         Code generated by FED-CASE V1.0  Code Generator              */
/*                  © Joosen Software Development                       */
/*                    All rights reserved 1993                          */
/*                                                                      */
/************************************************************************/

/************************************************************************/
/*                                                                      */
/*                          Start of Includes                           */
/*                                                                      */
/************************************************************************/

#include <exec/types.h>
#include <data/const_wcount.h>
#include <stdio.h>

/************************************************************************/
/*                                                                      */
/*                           End of Includes                            */
/*                                                                      */
/************************************************************************/

/************************************************************************/
/*                                                                      */
/*                    Start of source prototype file                    */
/*                                                                      */
/************************************************************************/

#include <proto/proto_wcount.h>

/************************************************************************/
/*                                                                      */
/*                     End of source prototype file                     */
/*                                                                      */
/************************************************************************/


/************************************************************************/
/* Procedure  : void main()                                             */
/* Function   :                                                         */
/* Designer   : Ron Heijmans                                            */
/* Date       : Sat Nov 27 13:55:06 1993                                */
/*                                                                      */
/* Modificat  :                                                         */
/* Handler    :                                                         */
/* Modific.   :                                                         */
/*                                                                      */
/************************************************************************/

void main()
{
int LI_tel;
char LC_ch;

	LC_ch= (char)getchar() ;				/* getchar: Read one character  */
	LI_tel= 0;
	while(	LC_ch!= EOF)					/* EOF: */
	{
		if (LC_ch== ' ' )
		{
			LI_tel++;
		}						/* end of 'if(LC_ch == ' ')' */
		LC_ch= (char)getchar();				/* getchar: Read one character  */
	}							/* end of while(LC_ch!=EOF) */
	printf( "number of words : %d\n" , LI_tel );		/* printf: Standard output function */
}								/* end of V_main */
