- 1
Make a program in C++ of even number from 50 to 0 and odd number from 49 to 1
2 Answers
0
Thanks for correction Ipang sir
- 1
Using any loop and conditional statements you can implement the code ...
Example:
for(int i=50;i>0;i--)
{
if(i%2==0)
cout<<i;
}
for(int i=49;i>0;i--)
{
if(i%2!=0)
cout<<i;
}