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 12973How you can handle errors in BDC.IN the log file what type of error mostly will be facing in real time
2 8015Post New TCS Interview Questions
What is a list of values?
Do you know what is luw (logical unit of work)?
Do ssd drives get fragmented?
Will width property uses full width of browser?
Explain how to calculate knee point voltage? Describe its purpose for differential protection.
What is the one thing which you like the most about a sales job?
If you were to leave Buffalo Wild Wings, what would be the reason?
How to generate Sequence diagrams?
What is meant by a sharepoint theme?
Is their any rule in significant figures that maximum number of significant figures in a number are 5
How to make conditional sum in ssrs?
List important file and folder when you create new android application?
What does a store statement do?
How do you approach the diagnosis and management of patients with hematologic malignancies such as lymphomas or myelodysplastic syndromes?
1 *2 1*3 *2*4 1*3*5 *2*4*6