Driver Code
$ totalRupees = 1800 ; $ X = 1 ; $ Y = 2 ; $ Z = 4 ; $ Rupees = coin ( $ totalRupees , $ X , $ Y , $ Z ) ; echo "1 ▁ rupess ▁ coins ▁ = ▁ " , $ Rupees * 1 , " STRNEWLINE " ; echo "50 ▁ paisa ▁ coins ▁ = ▁ " , $ Rupees * 2 , " STRNEWLINE " ; echo "25 ▁ paisa ▁ coins ▁ = ▁ " , $ Rupees * 4 , " STRNEWLINE " ; ? >