Question: Lunchtime Dash Function Name: lunchTime ( ) Parameters: N / A Returns: None ( NoneType ) Description: In all of your struggles to get into
Lunchtime Dash
Function Name: lunchTime
Parameters: NA
Returns: None NoneType
Description: In all of your struggles to get into your classes, you didn't even realize how terrible your schedule is You are walking past Brittain RIP and want to see if you have time to get lunch before your next class.
Write a function called lunchTime that prompts the user to input the name of your next class, its distance from Brittain Dining Hall in kilometers and how long you have until the next class in minutes Assume that it takes you minutes to walk kilometer. Finally, print out a string of the form: You have minutes minutes to eat lunch before you have to run to class with the minutes left as an integer. Minutes may be or negative if you don't have enough time to eat lunch.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
