<?php fscanf(STDIN,"%f",$a);fscanf(STDIN,"%f",$b);echo"MEDIA = ".number_format(($a*3.5+$b*7.5)/11,5,".","")."\n"; ?>
To embed this project on your website, copy the following code and paste it into your website's HTML: