/ 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";

1,750 visits (3 today, 43 this week, 114 this month, 114 this year)
Up 10 days, 3:32, 2 users, load average: 0.20, 0.13, 0.10
18.227.140.100 GET from server ak15.lam1.us

Saturday, January 18, 2025 @ 1:54:51 AM
gci.ServerAdmin@lam1.us