i have an assignment to make a perl file, where 1. ask the user to type in a number. 2. ask the user to type in another number. 3. ask user what is to be done multiply, add, subtract, divide. 4. display the correct answer.
So far i got the two first covered. but i am stumped at how to make it calculate random things. I am very new at this. Do i have to program to do every number or is there a way to make it calculate random things.
Thanks a million| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |