/ 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,617 visits (9 today, 20 this week, 419 this month, 1,617 this year)
Up 14 days, 3:23, 7 users, load average: 0.05, 0.06, 0.01
18.220.255.227 GET from server z.larryforalaska.com

Tuesday, December 31, 2024 @ 9:39:49 PM
z.ServerAdmin@lam1.us