Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
572 B
0
Indexable
Never
<?php

$firstNumber = readline ("Please enter FirstNumber :");

$secondNumber = readline ("please entre SecondNumber:");
echo PHP_EOL;

echo"{$firstNumber} + {$secondNumber} = " .$firstNumber + $secondNumber;
echo PHP_EOL;

echo"{$firstNumber} / {$secondNumber} = " .$firstNumber / $secondNumber;
echo PHP_EOL;

echo"{$firstNumber} * {$secondNumber} = " .$firstNumber * $secondNumber;
echo PHP_EOL;

echo"{$firstNumber} - {$secondNumber} = " .$firstNumber - $secondNumber;
echo PHP_EOL;

echo"{$firstNumber} ** {2} = " .$firstNumber ** 2;
echo PHP_EOL;