Question: PERL HAS TO BE IN PERL !!! Write a Perl program that asks the values of the length and width of a rectangle and prints
PERL HAS TO BE IN PERL !!!
Write a Perl program that asks the values of the length and width of a rectangle and prints the area of the rectangle. (10 points. File name:hw3_1) 1. Write a Perl program that asks a number and prints the sum from 1 to the entered number. (10 points. File name:hw3_2) 2. $ Enter a number: 10 $ The sum from 1 to 10 is 55 3. Write a Perl program that asks a series of words (with one word per line) until end-of-input then prints the series of words in an inverse order. (15 points. File name:hw3_3) Ex $ Enter a series of words Hello Apple World Good $ The result is: Good World Apple Hello Write a Perl program that asks a series of words (with one word per line) until end-of-input, prints the above words in ASCIl order, and then prints the repeated words. (15 points. File name:hw3_4) 4. Ex $ Enter a series of words Fred Barney Wilma Betty Fred $ The result is: Barney Betty Fred Wilma $ The repeated words Fred
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
