main() { int i; for (i=1; i<=5; ++i) 
{
 func(i, ‘O’);
 func(11-2*i, ‘V’); 
func(i, ‘O’);
 cout << endl; 

void func(int n, char ch) 
{ int i; for (i = 0; i <= n; ++i)
 cout << ch;
 }  
i know the answer, but dont know how