+ 1
Print sum of odd numbers between 1 and 1oo in c++.
Please help.
7 ответов
+ 4
for(i=1;i<100;i+=2)
{
s+= i ;
}
cout<<S;
or
for(i=1;i<100;i++)
{
if(i%2!=0)
s+=i;
}
cout<<s;
+ 4
OK I will
+ 3
@alikhan
I am not bro 😅
+ 2
Can u plzz write the full program?
+ 2
I am a bigineer
+ 1
Thanx alot bro u r great