Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Basic I/O Exercises

by pedagogues
on Nov 17, 1999 at 02:51 UTC ( #994=perlexercise: print w/ replies, xml ) Need Help??

Basic I/O Exercises

  1. Write a program which asks the user for his/her first name and last name, and then prints out a line of text welcoming him/her using the given names. (solution)
  2. Write a program which reads lines until it reads a "." on a line by itself, then prints out all of the lines it has read in reverse order. (solution)
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-11-28 05:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (738 votes), past polls