Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.
1 13095Post New CSJM Interview Questions
Explain the inheritance principle.
Does windows 10 have iis?
What is foreign key in access?
i installed 100kva ups. what KVA genset they should provid in input side? plz any update formula or ans with reason.
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What is success according to you?
what is the purpose of slide views?
Name other space research instituations in india?
Please explain the types of css?
any one have interview on 27 april please share the question as soon as possible because my interview on 28 april
How big is an int in c#?
Can you have multiple retained earnings accont?
How do Parameterization and Data-Driving relate to each other in QTP?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Has anything ever irritated you about people you've worked with?