All it's supposed to do is count the characters a user enters, and print it out. Can't use arrays, and must be terminated by the user. I have no idea what's wrong with this. Any tips?
#include <stdio.h>
int main( int argc, char *argv[] )
{
int input;
printf( "Enter a series of characters:\n" );
input = getchar( );
while ( input != EOF )
{
input++;
input = getchar( );
}
printf( "You entered %d characters.\n", input );
return 0;
}