[Year 12 SofDev] PHP Question
Alexakos, Zach Z
alexakos.zach.z at edumail.vic.gov.au
Thu Mar 1 20:52:49 EST 2018
Hi all,
I have a student question I need some help with.
The question is to calculate the volume of a rectangular prism using a function and subroutine.
As we know Volume = Length * Width * Height
But the student is only able to multiply two values at a time (L *W), then assign the answer to a third variable before multiplying again to find the volume.
In Swift it's as easy V = L * W * H
But in PHP? Am I missing something?
Regards,
Zach Alexakos
IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20180302/81e3fd6e/attachment.html>
More information about the sofdev
mailing list