+ 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 RĂ©ponses
+ 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