Machine problem in PHP?

  • Thread starter Thread starter Fallen Angel
  • Start date Start date
F

Fallen Angel

Guest
how to display the series of number combinations that needs to be added to get the value of n..

the code goes like this
<?php
$n=10



?>

for example the output of this is like this
3+4+3 = 10

when u add 3,3 and 4 the sum is 10;
 
You need to have a more specific set of requirements.

You can make several groups of ordinals less than 10 add up to 10. Without a clearer requirement, your problem is unsolvable.
 
Back
Top