P

R

O

G

R

A

M

M

I

N

G

 

C

O

M

P

E

T

I

T

I

O

N

 

Secret Code

Task #2

Novice

2 Points

Task Description
Compaq has just recently discovered that a hacker has gained access to the mail traffic on its internal network.  To prevent further unauthorized access to its interoffice email, Compaq has created a secret code that is applied to the text of all email messages.  Your job is to write a program to change the line of text entered by the user using this new secret code.

The secret code replaces each vowel with a secret character as follows:

Vowel           Replacement
A                 *
E                  $
I                  #
O                 !
U                 %
Y                 ^

Program Input
A line of text.  End the program when the text “end” is entered.

Hewlett-Packard Company, Year 2000 Financial Report
end

Program Output
C!mp*q C!mp%t$r C!rp!r*t#!n, ^$*r 2000 F#n*nc#*l R$p!rt