循环入门练习4 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,N; a=0; b=0; scanf("%d",&N); whil……
<循环>求1~N能被7整除的数字总和(C语言)
摘要:#include<stdio.h>
int main()
{
int sum = 0, N;
scanf("%d", &N);
for (int i = 1; i < N + 1; i……
1767: 循环入门练习4题解
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int sum=0; int n; cin……