Use PEMDAS.
6 + 3(4) / 6
6 + 12 / 6
6 + 2 = 8
6 / 6 = 1
8 / 1 = 8
I hope this helped.
Make it stand out. Add a pic and stuff
Answer:
ZIP
Explanation:
ZIP is a type of compression file as Jpg is a picture file, Gif is a picture file, and ODOC stands for Oklahoma Department of Corrections
TBH:
it may be O ZIP but i've never heard of it.
Output of the given code is:
Y
X
Y
Y
X
Y
XY
Y
X
Y
Y
X
Y
XY
Y
X
Y
Y
X
Y
XY
Y
X
Explanation:
In the for loop variable "number" will iterate from 1 to 150(inclusive).
in the "if" condition it is checking that the number is divisible by 3 and 5 both if the number is divisible by both 3 & 5 then it will print XY as output.
In the first "elif", if the number is divisible by 5 only then it will print X
as output.And in the last "elif", if number is divisible by 3 only then it will
print Y as output. Nothing will be printed if all three conditions are FALSE.