normal 0 false false false en-us x-none


Program

 

#Convert all lower case characters to upper case.

cat good.sh | tr "[a-z" "[A-Z]"

 

Output

 

STR=`DATE +%K`

IF TEST $STR -GT 16

THEN

   ECHO "GOOD EVENING!"

 

ELSE

   IF TEST $STR -GT 12

THEN

    ECHO "GOOD AFTERNOON!"

ELSE

   ECHO "GOOD MORNING!"

FI

FI

Request for Solution File

Ask an Expert for Answer!!
Application Programming: normal 0 false false false en-us x-none
Reference No:- TGS0161552

Expected delivery within 24 Hours