Answer Posted / srinivas
c++ and java
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
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?
What are type modifiers in c?
Write a program to print factorial of given number using recursion?
how many errors in c explain deply
What are loops c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
How can I implement a delay, or time a users response, with sub-second resolution?
can we have joblib in a proc ?
By using C language input a date into it and if it is right?
What is the difference between c &c++?
while initialization of array why we use a[][2] why not a[2][]...?
Differentiate Source Codes from Object Codes
What is typedef?
What are the 5 elements of structure?
What are the advantages and disadvantages of c language?