Chapter 3 Quiz 2
Write a Haskell program to do each of the following.
-
Multiply all of the integers from 2 through 50, inclusive.
-
Give a list of integer coordinate points (x,y) on the graph y=5x^2-80 that have y-coordinate less than 100.
-
Write a signature and function for
triplePay
:triplePay "$75.15" == 225.45
- signature
- function definition
It is acceptable if your numbers print with an extra 0.00001 (or something similar).