利用输入函数scanf的返回值控制while循环 #include <stdio.h>int main(void){ long num; long sum=0l; //int status; printf("please enter an integer to be summed"); printf("(q to quit):"); //status = scanf("%... 学习 2024-05-04 37 点赞 0 评论 56 浏览