for循环:从键盘输入一个正整数n,

#include<stdio.h>void main(){ int i,n,sum=0; //声明三个整型变量,并为变量sum初始化赋值为0// printf("Please enter n:"); //输入提示语// scanf("%d",&n); //调用scanf()函数 ...

Wed Dec 18 03:10:00 CST 2019 0 955
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM