<?php
fscanf(STDIN, "%s", $n);
fscanf(STDIN, "%f", $s);
fscanf(STDIN, "%f", $t);
$tt=$s+$t*0.15;
printf("%s%.2f\n","TOTAL = R$ ",$tt)
?>

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: