/ 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,534 visits (5 today, 5 this week, 147 this month, 497 this year)
Up 4 days, 15:48, 2 users, load average: 0.04, 0.07, 0.02
18.221.221.171 GET from server ak23.lam1.us

Sunday, December 22, 2024 @ 9:54:36 AM
gci.ServerAdmin@lam1.us