Code: #include<iostream> using namespace std; int main() { int i , choice; cout<<"\nEnter your mood\n1.For Very good\n2.For good\n3.For avergae\n4.Bad"; cin>>i; switch(choice): { case '1': cout<<"You are being hugged"; case '2': cout<<"You are being hugged"; case '3': cout<<"Not eligible for hugs"; case '4': count<<"You need meds not hugs"; } return 0; }
Comments
Post a Comment
Feel free to leave a comment...