A c++ program using function concept that displays even numbers found b/n 1 to 30?
Answers
Answered by
0
//this is the function
void even()
{for (int i=1;i<31;i++)
{if(i%2==0)
{cout<<i;
}
}
}
Similar questions