#include<stdio.h>

int main()

{

     int i=0;

     printf("input a string:\n");

     while(getchar()!='\n')

     {

         i++;

     }

     printf("%d",i);

     return 0;

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2021-08-26
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-15
相关资源
相似解决方案