Question: Done in Perl 2. Write a program that computes the circumference of a circle with a radius of 20.5. Circumference is 2 times 3.14 times

Done in Perl

2. Write a program that computes the circumference of a circle with a radius of 20.5. Circumference is 2 times 3.14 times radius. Name the program prog2.pl. 3. Modify prog2.pl from the previous exercise and name it prog3.pl. It should prompt for and accept a radius from the person running the program. 4. Modify prog3.pl, so that if the user enters a number less than zero, the reported circumference will be zero, rather than negative. Name the program prog4.pl. 5. Write a program that prompts for and reads two numbers and prints out the product of the two numbers multiplied together. Name the program prog5.pl.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!