Created
March 23, 2022 14:47
-
-
Save DarkcoderSe/170fed8f47e6630a77f418d0791455ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$passengerCount = 51; | |
function calculateVehicles($passengers) : void { | |
echo ceil($passengers / 5); | |
} | |
calculateVehicles($passengerCount); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment