What is meant by Resonance what are the different types of resonance and what are uses of them?
14 50203Post New Infosys Interview Questions
What is scope rule in c?
Explain how you can find length of array in qtp?
Tell me can we use graphics in xml?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What are the disadvantages of R?
What is sosl, soql and dml in salesforce?
Write a command sequence to find the count of each word?
Tell me what class in .net is used to install a windows service?
Which date function is used to find the difference between two dates?
How do you use aliases with autoloading models in codeigniter?
what is the use of backward drilling in cognos 8?is it possible?whats the uws of it?
How do I open javascript on my iphone?
Which package is the fastest form of python?
What is intricate mapping?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?