Computer Science, asked by gadisakiya3, 1 year ago

A c++ program using function concept that displays even numbers found b/n 1 to 30?

Answers

Answered by osamahere313
0

//this is the function

void even()

{for (int i=1;i<31;i++)

{if(i%2==0)

{cout<<i;

}

}

}

Similar questions