
{
if (mood_type == "happy")
{
return smile;
}
else if (mood_type == "sad")
{
return tears;
}
else
{
return depression;
}
}
public static void()
{
string mood_type = "";
string question = "how are you doing today?";
input mood_type;
mood(mood_type)
print mood.toUpper();
}
------------------------------------------------------------
Your moodtype is HAPPY
0 comments:
Post a Comment