pr7 - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of pr7.php
- <?php
- $creditSum = 39999; /*стоимость планшета*/
- $payout = 5000; /*сколько может плаить в месяц*/
- $homoCreditTotal = ($creditSum * 1.04) + 500;
- $softbankTotal = ($creditSum * 1.03) + 1000;
- $strawberryBankTotal = ($creditSum * 1.02) + 7777;
- echo "homoCredit: {$homoCreditTotal} руб. \n";
- echo "softbank: {$softbankTotal} руб. \n";
- echo "strawberryBank: {$strawberryBankTotal} руб. \n";