/ 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,588 visits (17 today, 72 this week, 390 this month, 1,588 this year)
Up 9 days, 4:08, 4 users, load average: 0.00, 0.00, 0.00
3.139.93.242 GET from server cabo.lam1.us

Thursday, December 26, 2024 @ 10:25:26 PM
Cabo.ServerAdmin@lam1.us