PHP PHP Basics Unit Converter Manipulating Numbers

Jonathan Muñoz
Jonathan Muñoz
287 Points

Add 5 to $integerOne ? No matter what I try it says it is wrong, I find the question really unclear. Can't proceed.

Add 5 to $integerOne ? No matter what I try it says it is wrong, I find the question really unclear. Can't proceed.

index.php
<?php

//Place your code below this comment
$integerOne = 1;
$integerTwo = 2;
$floatOne = 1.5;
?>

2 Answers

There are two steps to task 2. Your second try $integerOne = $integerOne + 5; is correct for step one. You just need to subtract 1 from $integerTwo to complete step two.

Jonathan Muñoz
Jonathan Muñoz
287 Points

Tried: $integerOne + 5; $integerOne = $integerOne + 5;