A prompt box invites the user to enter information. This small function combines two prompt boxes and one alert box.
Try it now!