Answer: we divided by l and h so neither may be zero. (obligatory caveat attached when doing the division)
w = V/(lh) && l != 0 && h != 0
Step-by-step explanation:
Obviously
V = volume,
l = length
w = width
h = height.
Given formula V=lwh
Goal is to rearrange to solve for w
Statement that l and h cannot be zero is part of the answer. Sometimes this isn't obvious, although in this case it is.
Divide both sides by lh. Don't forget the parenthesis.
V/(lh) = lwh/(lh) && l != 0 && h != 0
w = V/(lh) && l != 0 && h != 0