Answer Posted / guest
ctrl+f9
| Is This Answer Correct ? | 9 Yes | 2 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?
Is null a keyword in c?
how can f be used for both float and double arguments in printf? Are not they different types?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Explain the use of function toupper() with and example code?
explain what is an endless loop?
What is an endless loop?
How many types of arrays are there in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is 1d array in c?
Explain the meaning of keyword 'extern' in a function declaration.
Why is python slower than c?
What is data type long in c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
write an algorithm to display a square matrix.