/ 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,166 visits (5 today, 57 this week, 173 this month, 1,947 this year)
Up 4 days, 14:12, 4 users, load average: 0.06, 0.04, 0.00
18.226.214.91 GET from server 206.174.115.122

Saturday, November 23, 2024 @ 6:51:53 AM
gci.ServerAdmin@lam1.us