Perl Homework #1
Create one program with many small subroutines. Your main program should just call each subroutine.
Subroutines are:
1) Ask the user to enter a conversion rate to English currency and a dollar amount. Print the converted amount.
2) Ask the user to enter a number. Print all the numbers up to that number. Then print the total of all printed numbers.
This next one will be moved back to another homework.
3) Roll a die using a random number using int (rand (6)), which gives you a number between 0 and 6 and then converts it to an integer, so 0-5 results. Add 1 to the result to get 1-6. Print the roll. Keep rolling until you get two 5's in a row.