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