#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int c;
signed char checksum = -1;
printf("请输入\n");
while((c = getchar()) != '\n')
{
checksum += c;
putchar(c);
}
printf("\n%d\n", checksum);
return 0;
}
C和指针 练习 1-3
最新推荐文章于 2022-11-24 13:33:29 发布