I am new to Perl and am having trouble entering in everything without any errors. These are the things I need this program to do. Any help is appreciated. Thanks
For this program I want it to ask you to prompt the user to enter three numbers, read those three numbers from the user, and then output the following math results. Assuming that the numbers were entered into variables $a, $b and $c in that order, output the following values:
the sum of all three numbers ($a + $b + $c), the product of all three numbers ($a * $b * $c), the division of the first and third numbers ($a / $c), the remainder division of the first and second numbers ($a % $b), the difference of the first and second numbers ($a - $b), using selection, determine the largest number of $a and $b, using selection, determine the smallest number of $b and $c
In reply to Simple Arithmetic Question by pcoady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |