LANGUAGE: C++ Make a class. It should be something really offbeat and zany, so I know it’s not a direct example from the Internet. Some totally random ideas are: A crying baby and you can ask it if it is crying, make it cry, and/or ask it for a reason (maybe it has an array of reasons like “I’m hungry” etc and it returns back a reason). A foodie class where you can initialize it to have a few food choices then ask it what you should eat, like custom make a burger, or order food, drink, etc. It can be anything as long as it is totally original. Some imaginary or real math calculations that you invent or a game or fortune thing Storing your favorite songs/playlist, or creating an artist class and then it stores and lets you add songs to it. A sociopath, it could let you add sociopathic things he/she did such as Stole from mom’s wallet, on Jan 2 2020, Lied to his boss on Dec 20 2020, (etc get creative) Feel good quotes, you could ask for a quote to make you grateful, it gives you random one, Ask for one to make you feel relaxed, and so on. Making suggestions, for example it asks you if you are sick, then asks you about your symptoms and based on that makes a suggestion for a cure. Boyfriend/girlfriend advisor, for example, asks questions then makes suggestions for the appropriate date. Some sort of sports thing, or mind game
LANGUAGE: C++
Make a class. It should be something really offbeat and zany, so I know it’s not a direct example from the Internet. Some totally random ideas are:
A crying baby and you can ask it if it is crying, make it cry, and/or ask it for a reason (maybe it has an array of reasons like “I’m hungry” etc and it returns back a reason).
A foodie class where you can initialize it to have a few food choices then ask it what you should eat, like custom make a burger, or order food, drink, etc. It can be anything as long as it is totally original.
Some imaginary or real math calculations that you invent or a game or fortune thing
Storing your favorite songs/playlist, or creating an artist class and then it stores and lets you add songs to it.
A sociopath, it could let you add sociopathic things he/she did such as Stole from mom’s wallet, on Jan 2 2020, Lied to his boss on Dec 20 2020, (etc get creative)
Feel good quotes, you could ask for a quote to make you grateful, it gives you random one, Ask for one to make you feel relaxed, and so on.
Making suggestions, for example it asks you if you are sick, then asks you about your symptoms and based on that makes a suggestion for a cure.
Boyfriend/girlfriend advisor, for example, asks questions then makes suggestions for the appropriate date.
Some sort of sports thing, or mind game
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images