1. Type in the "Hello World" program as mentioned in the Perl lecture notes or textbook and get it to work, that is, run the Perl program and the result will display Hello World. Name the program prog1.pl.

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

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.