Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Basic I/O Exercises

by pedagogues (Initiate)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2023-03-30 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (73 votes). Check out past polls.

    Notices?