exercise #7, alert and print values from prompt box