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

3,477 visits (2 today, 18 this week, 261 this month, 2,258 this year)
Up 5 days, 9:29, 2 users, load average: 0.03, 0.04, 0.00
3.22.217.176 GET from server wa16.lam1.us

Monday, December 23, 2024 @ 3:35:30 AM
gci.ServerAdmin@lam1.us