+ 1

# Doing math operators

Stuck on this portion of the course a=8 A/=3 Puts 4%a What’s the output is the question Outside of the answer what’s the longform doing the math?? Thanks for your help

4 Answers

+ 4

because / divide numbers like integers(whole numbers) and then 8/3 = 2 and then % gives remainder after divison like this before so 4 / 2 = 2 and remainder is 0

+ 5

8/3=2
4%2=0
output is 0

+ 1

Thanks! Thats worked how is “0” though 2 is remainder how is “% “ used

0

Thanks can seem complex ..help appreciated. Clears it up

Hot today

Please help, any idea?

2 Votes

Loop question, I've tried everything that I knew I just don't know. Please help me solve it out

1 Votes

What is wrong? Error on test.

1 Votes

Help me solve this (using loop)

1 Votes

Help me wiht python

1 Votes

how can i flip any word with c++

0 Votes