Funny, it works for me.#!/usr/bin/perl use strict; use warnings; print "What is the radius? "; my $radius = <STDIN>; chomp $radius; my $circum = $radius * 2 * 3.14; print "The circumference of the circle with the radius of $radius is $ +circum\n";
In reply to Re: A Newcomer can't get the user input!
by Mr. Muskrat
in thread A Newcomer can't get the user input!
by John11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |