Académique Documents
Professionnel Documents
Culture Documents
* and vice-versa */
#include <stdio.h>
#include <ctype.h>
#include <conio.h>
void main()
{
char sentence[100];
int count, ch, i;
clrscr();
printf("Enter a sentence\n");
for(i=0; (sentence[i] = getchar())!='\n'; i++)
{
;
}
count = i;
} /*End of main()
/*-----------------------------------------
Output
Enter a sentence
gOOD mORNING