string function in c

im confused in this program in turbo c, i would like to see the output of these program :)

--> Question #1
Write a program using string functions that accepts a coded value of an item and display its equivalent tag price
The base of the key is:
0 1 2 3 4 5 6 7 8 9
X C O M P U T E R S

Sample input/output dialogue:
Enter coded value: TR.XX
Tag Price: 69.00


--> Question #2
Write a simple encryption program using string functions which apply the substitution method. Here is the given Substitution Table

Substitution Table:
A *
E $
I /
O +
U -

Sample input/output dialogue:
Enter message: meet me at 9:00 a.m. in the park
Encrypted message: m$$t m$ *t 9:00 *.m. /n th$ p*rk

So what exactly do you need help with?
Anyways, that's a very weak encryption program that a 4 year old could decode :P
im just a beginner in this program so i like to know the output of this program :(
Topic archived. No new replies allowed.