Question: Create a program that prompts the user for the wave height and then displays Great day for surfing! when the waves are 6 feet and


Create a program that prompts the user for the wave height and then displays "Great day for surfing!" when the waves are 6 feet and over. Output should look similar to:

Example:

Please enter the wave height: 7

Output: Great day for surfing!


Program 2 - Print Services

Print prices are typcially based on the number of copies to be printed. For example:

0 - 99 $0.30 per copy

100 - 499 $0.28 per copy

500 - 749 $0.27 per copy

750 - 1000 $0.26 per copy

over 1000 $0.25 per copy


Create a program that prompts the user for the number of copies to print and then displays the price per copy and the total price for the job. Output should look similar to:

Example:

Enter the number of copies to be printed: 1001

Price per copy is: $0.25

Total cost is: $250.25

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Program 1 Surfing Conditions def surfingconditions try waveheight floatinputPlease enter the ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!