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


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

#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       : Fri Mar 10 21:17:47 1995                                */
/*                                                                      */
/* Modificat  :                                                         */
/* Handler    :                                                         */
/* Modific.   :                                                         */
/*                                                                      */
/************************************************************************/

void main()
{
int LI_tel;
char LC_ch;

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