enderw2014 has asked for the wisdom of the Perl Monks concerning the following question:
thank you#!usr/bin/perl print "Enter your first number:\n "; $number=<STDIN>; print "Enter your second number:\n "; $number2=<STDIN>; $sum=$number + $number2 ; $product=$number * $number2 ; $quotient=$number / $number2 ; print "Hello! The sum of $number and $number2 is $sum." ; print "The product of $number and $number2 is $product." ; print " When $number is divided by $number2, the quotient is $quotient +." ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: output question
by choroba (Cardinal) on Jun 27, 2014 at 12:41 UTC | |
|
Re: output question
by AppleFritter (Vicar) on Jun 27, 2014 at 16:17 UTC | |
|
Re: output question
by Anonymous Monk on Jun 28, 2014 at 10:42 UTC |