+ 1
C++ Input determines output
So basically...I need a bit of help.I want to make my program output a string depending on what user wrote when input was required. For example: Lets say we have to input an int that represents time of the day.Based on input I want my program to either say Good Morning,Good day,or Good evening.Can this be done using IF/ELSE or not?
2 Answers
+ 3
Yes of course it can be done with if/else.
0
Thank you for your answer.