Post a New Question


posted by .

. Write a program which ask the user to enter a sentence (character by character) and when user press full stop (.) character program should display the full sentence and exit.

  • suranthi -

    I wonder if "suranthi" comes close to being the subject of your post?

  • suranthi -

    sure. create the file

    system "stty raw";
    while ($_ = getc) {
    last if $_ eq ".";
    system "stty cooked";


Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions

Post a New Question