发布时间:2022-10-08 11:34:22
3.5 编程题
.
求100之内的自然数中奇数之和。
答:编程如下:
#include
void main()
{
int s=0;
for(int i=1;i<100;i =2)
s =i;
cout<
该内容由生活日记网提供.