/ 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,538 visits (9 today, 9 this week, 151 this month, 501 this year)
Up 4 days, 17:54, 2 users, load average: 0.01, 0.04, 0.00
18.188.188.152 GET from server ak19.lam1.us

Sunday, December 22, 2024 @ 12:00:36 PM
gci.ServerAdmin@lam1.us