概述
第一题
#include<stdio.h>
int main(void)
{
int Counts = 0;
char Letters;
printf("Please Input:n");
while((Letters = getchar()) != EOF)
++Counts;
printf("You Had Inputed %d Letters.",Counts);
return 0;
}
第二题
#include<stdio.h>
const int LenColumn = 10;
const int MaxLen = 100;
int main(void)
{
char Letters;
char Words[MaxLen];
int Counts = 0;
printf("PLease Input Words To Test:n");
while((Letters = getchar()) != EOF)
{
Words[Counts] = Letters;
++Counts;
}
Words[Counts] = '