Largest Even and Odd N | Function to print the largest n - digit even and odd numbers ; Driver code
< ? php function findNumbers ( $ n ) { $ odd = pow ( 10 , $ n ) - 1 ; $ even = $ odd - 1 ; echo " Even ▁ = ▁ $ even ▁ STRNEWLINE " ; echo " Odd ▁ = ▁ $ odd " ; } $ n = 4 ; findNumbers ( $ n ) ; ? >