Create a program that will accept a stream of characters and display characters without spaces.

PHOTO EMBED

Wed May 08 2024 04:36:39 GMT+0000 (Coordinated Universal Time)

Saved by @JC

#include <stdio.h>
#include <ctype.h>
 
int main()
{
    char c;
    puts("Enter a stream of characters:");
    
while((c=getchar())!='\n')
{
    if(isalpha(c))
    putchar(c);
}
    return 0;
}
content_copyCOPY