Another C - Program is to be written
Write a C - program that will encrypt a given text in the following manner. For each line of text
i) Convert each character to ASCII equivalents
ii) Generate a positive random integer
iii) Add the integer to ASCII value of each character
iv) Let A1 denote lowest permissible value in ASCII code & A2 donate highest permissible value in ASCII code. If the integer generated in step iii, exceed A2, then subtract A2 from the integer & add A1 to the remainder, ensuring that the number will remain between A1 and A2. and
v) Write out the encryted character.
I'll be highly oblized for the kind help of your's.
Anupam