**the code works perfectly, just i got something i dont understand...** i'v been trying to get a hold of recursion and sorting for about 3-4 days now, im getting some of it, but still not happy enough.. i searched for some good code for binary search and merge sort on the net, found some, took the one i liked most, and have been editing it to my needs. it would have felt a lot better had i been able to write both on my own, but.... i cant..... :( (hence all the downloading, editing and testing and comparing ... :| …

Member Avatar
Member Avatar
+0 forum 6

Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= 12;<br /> The answer is <b>$number</b>. <br /><br />"; $number *= 14; print "\$number *= 14;<br /> The answer is <b>$number</b>. <br /><br />"; $number%= 16; print "\$number %= 16;<br /> The answer is <b>$number</b>. <br /><br />"; ?> This is my **form**: <html> <body> <form action="number.php" method="get"> Enter number: …

Member Avatar
Member Avatar
+0 forum 8

Without using /,% and * operators. write a function to divide a number by 3, itoa() function is available.

Member Avatar
Member Avatar
+0 forum 3

The End.