- 1
Write a program to count even numbers upto 50.
The program must be in C++ language.
2 Answers
+ 2
for(int i = 2; i <= 50; i++)
{
if(i%2==0)
std::cout << i<< std::endl;
}
+ 1
this isnt a hard challenge.....
The program must be in C++ language.