## 6. Write statements using combined assignment operators to perform the following: a) Add 6 to x. b) Subtract 4 from amount. c) Multiply y by

Question

6. Write statements using combined assignment operators to perform the following: a) Add 6 to x. b) Subtract 4 from amount. c) Multiply y by 4. d) Divide total by 27. e) Store in x the remainder of x divided by 7. f) Add y * 5 to x. g) Subtract discount times 4 from total. h) Multiply increase by sales Rep times 5. i) Divide profit by shares minus 1000.

in progress
0

Math
2 months
2021-10-08T02:01:49+00:00
2021-10-08T02:01:49+00:00 1 Answer
0 views
0
## Answers ( )

Answer:a) Add 6 to x.

6 + xb) Subtract 4 from amount.

2 + x = yc) Multiply y by 4

8 + 4 xd) Divide total by 27.

Step-by-step explanation:Writing the given statements:

a) Add 6 to x.

Adding 6 to x , we get:

6 + xResult = 6 + xb) Subtract 4 from amount.

Subtracting 4 from R, we get:

R – 4= ( 6 + x) – 4 = 6+ x – 4 = 2 + xResult = 2 + x = yc) Multiply y by 4

Multiplying y = (2 +x) by 4, we get:

Result = 4 ( 2 + x) = 4(2) + 4(x) = 8 + 4 x

or,

Result = 8 + 4 xd) Divide total by 27.

Dividing total by 27, we get: