Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program to read the user's name and time of the day ( morning , afternoon, or evening ) , each into its own
Write a program to read the user's name and time of the day morning afternoon, or evening each into its own variable. Then output a greeting to the user and a smiley face.
Notes:
end your input messages with
: inputmessage here:
there are spaces between most of the characters making the smiley face, but there must be no space at the end of each line of text.
Example :
Enter your name:
Jane
Enter time of day:
morning
Good morning, Jane. Here is a smiley face:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started