/ Circumference.cgi-pl

Radius:

Program -- Circumference.cgi-pl --- ProgramText

$ cat test.pl 
#!/usr/bin/perl
 
 $pie = 3.14;
 print "What is the radius? ";
 chomp($radius = );
 $circ = 2 * $pie * $radius;
 print "The circumference of a circle of radius $radius is $circ.\n";

3,456 visits (8 today, 59 this week, 240 this month, 2,237 this year)
Up 4 days, 1:46, 2 users, load average: 0.00, 0.02, 0.00
18.116.28.79 GET from server 122-115-174-206.gci.net

Saturday, December 21, 2024 @ 7:53:04 PM
gci.ServerAdmin@lam1.us