#Help me to Create Simple Program
9 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@hoary cloak
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
Super simple idea:
Make the user enter (up to N) numbers and print the sum of all the odd (or even) numbers they entered.
You can go on from there and make it more complicated/complex as you like, like e.g. you could entirely change what you're calculating with all these numbers, or you could just add something on top, like e.g. every 4th number they input isn't a number but an index referring to the i-th input you did and so you then use that i-th number an additional time.
Your imagination really is the limit
@hoary cloak
sort an array
lmao true.
Such a simple yet elegant solution