I am working on a program for one of my classes, and it contains a simple menu like this:
Please choose an option below:
--------------------------------
1) Calculate with just gravity
2) Calculate with net force
3) Calculate with just drag
Now, usually it would be quite simple to determine what the menu choice is, but we are not allowed to use logical operators, relational operators, or selection constructs. I've been trying to use modulus, but to no avail. Is this even possible? We essentially can only use +, -, *, /, and %. As well as simple variables. Thank you!