1)A program that calculates and prints the product of two even integers between one to 1000 (I'm not sure why it has to be to 1000).
It should look like:
- Code: Select all
The product of even integers from 1 to 7 is: 48
2)Build a small calculator by taking three inputs. Two of which are integer or floats and the third is an input of +,-,/,*. It should then print out a result.
Obviously I don't want the straight out answers, but I barely have an idea where to start. I've tried using while loops and range functions for the first problem but have been unable to organize them in a way to get the results I need.
Thanks all in advance for the help!
I hope this will be the first post of many on this forum and that at some point I will be answering questions like this for people in my position.