/ 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,459 visits (11 today, 62 this week, 243 this month, 2,240 this year)
Up 4 days, 5:46, 2 users, load average: 0.00, 0.02, 0.00
3.146.176.191 GET from server gci.lam1.us

Saturday, December 21, 2024 @ 11:53:13 PM
gci.ServerAdmin@lam1.us