Welcome, guest! Login / Register - Why register?

Paste

N/A
Pasted as PHP by registered user Sam ( 9 years ago )
<?php
switch ($temperature)
{
   case "hot":
      echo 'Drink beer.';
      break;
   case "cold":
      echo 'Have a coffee with honey.';
      break;
   default:
      echo 'Continue coding..';
}
?>

 

Revise this Paste

 

Author has disabled linked revisions by other users.