Break the number into three parts | Function to count number of ways to make the given number n ; Driver Code
< ? php function count_of_ways ( $ n ) { $ count ; $ count = ( $ n + 1 ) * ( $ n + 2 ) / 2 ; return $ count ; } $ n = 3 ; echo count_of_ways ( $ n ) ; ? >