Question: Make a function TimeToGreeting that takes in time as a parameter and prints Good Morning, Afternoon, Evening... Complete by next class (Monday). Stretch goal: modify

 Make a function TimeToGreeting that takes in time as a parameter

Make a function TimeToGreeting that takes in time as a parameter and prints Good Morning, Afternoon, Evening... Complete by next class (Monday). Stretch goal: modify TimeToGreeting to include a character to indicate the language (e.g. 'E' -English, S- Spanish, 'F' - French. (you can used Google translate to get the proper equivalent, or just say "French version of Good Morning What is your name? Joe What time is it? 0900 Good morning, Joe. >timeGreetings What is your name? Laura What time is it? 1400 Good afternoon, Laura

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!