![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6hsyYihYwsw6Wu2BTgl5XcfkcOp8dtVEzpKszDNpfLfINIidMIdYLsqkgTGSmgFORvDicFTcuEvFS4M5iQ0lYw8eQSYBM7Q9feiN9LxdOGuels47q_Aubwx9KZ8ZwJCRxPlPn_IggM/s400/__%255CPODTD%255CHTML%255Cimages%255Cthumbs%255CPT02coding.gif)
{
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