Ask Question
21 February, 14:17

First, define an integer variable and assign it any value of your choice. Then you'll need to perform the following operations with it:

1. Add 9

2. Multiply by 2

3. Subtract 4

4. Divide by 2

5. Subtract by the variable's original value

6. Finally, display what the end result is.

7. Once your math / code is complete, double check your work by seeing what happens with the end result when you use different starting values. You should notice something "interesting".

+5
Answers (1)
  1. 21 February, 16:26
    0
    Python code:

    x=121

    x + = 9

    x * = 2

    x - = 4

    x >> = 2

    x - = 121
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “First, define an integer variable and assign it any value of your choice. Then you'll need to perform the following operations with it: 1. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers