Monday
March 27, 2017

Post a New Question

Posted by on .

. 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 suranthi.pl


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


    perl suranthi.pl

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question