(Latest Revision: Wed Feb 26 00:08:05 PST 2014 )
Script started on Wed Feb 26 00:07:22 2014 lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: i Sorry, [ i ] is a lower-case letter - upper-case letter input required. lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: 6 Sorry, [ 6 ] is a digit - upper-case letter input required. lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: P [ P ] ==> 7 lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: E [ E ] ==> 3 lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: A [ A ] ==> 2 lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: R [ R ] ==> 7 lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: ? Sorry, [ ? ] is not a letter or digit - upper-case letter input required. lucifer.local>> a.out This program reads a character typed by the user at the keyboard. If the character is an upper case letter then this program prints the corresponding cell phone digit. Otherwise, this program prints an error message. There are separate error messages for three types of errors: * User enters lower-case letter * User enters digit * User enters a character that is not a letter or digit Please enter a character: @ Sorry, [ @ ] is not a letter or digit - upper-case letter input required. lucifer.local>> exit exit Script done on Wed Feb 26 00:08:39 2014