This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Control Flow: Switch Forum

View Course » View Exercise

477 points
6e3428a851d86f0c150a511050cd7219?s=140&d=retro
Submitted by
W Coleman
about 4 years ago

It said to fill in the blanks but there were no blanks.

SSIA


0 votes

permalink

This works.
<!DOCTYPE html>





<?php
$fruit = "Apple";
switch ($fruit) {
case 'Apple':
echo "Yummy.";
break;
default:
}
?>

1228 points
52f07fbc548c358e90000e1a_385034243
Submitted by
carlosmante
about 4 years ago