Answers for "You will use an appropriate looping statement to write a script that displays a list of the Celsius equivalents of zero degrees Fahrenheit through 100 degrees Fahrenheit"

0

You will use an appropriate looping statement to write a script that displays a list of the Celsius equivalents of zero degrees Fahrenheit through 100 degrees Fahrenheit

<?php
$fTemp = 0;
while ($fTemp <= 100) {
	$cTemp = ($fTemp - 32) * .55;
	echo $fTemp." Fahrenheit is equal to ".$cTemp." Celsius<br />"; 
	$fTemp++;
}
?>
Posted by: Guest on May-27-2021

Code answers related to "You will use an appropriate looping statement to write a script that displays a list of the Celsius equivalents of zero degrees Fahrenheit through 100 degrees Fahrenheit"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language