A425.打印数字2题解:
2026-02-13 22:41:14
发布于:四川
4阅读
0回复
0点赞
A425.打印数字2
#include<iostream>
using namespace std;
int main(){
int n,m;
cin >> n >>m;
for(int i=n;i<=m;i++){
if(i%2==1){//判断奇数
cout << i <<endl;
}
}
return 0;
}
这里空空如也






有帮助,赞一个