[Newbie here]
Need to write a simple declaration program w/c apply the substitution method.

substitution table is:
*-a
$-e
/-i
+-o
--u

sample outputs ENCRYPTED MESSAGE:
m$$t m$ *t 9:00*m /n th$ p*rk

DECRYPTED MESSAGE should be: meet me at 9:00am in the park

MY PROGRAM:


[#include<stdio.h>
main()
{
char c;
clrscr();
printf("\n Encrypted Message:");
scanf("%c",&c);
printf("\n Decrypted Message:");
if(c=='*')
printf("a");
else if(c=='$')
printf("e");
else if(c=='/')
printf("i");
else if(c=='+')
printf("o");
else if(c=='-')
printf("u");
else
printf("Code Error");
getch();
}]

The output is always Code Error.

Caleb here. Guide me pls.