Write a program that takes a 5 digit number and calculates 2
power that number and prints it
Answer Posted / cheela deepak
integer range is not sufficient for given program so result
will not hold
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a program for finding factorial of a number.
What is #include stdio h?
What is modifier & how many types of modifiers available in c?
What is the condition that is applied with ?: Operator?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Explain what is a program flowchart and explain how does it help in writing a program?
Where can I get an ansi-compatible lint?
By using C language input a date into it and if it is right?
What is array in C
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?
Explain what does the function toupper() do?
What is the use of #include in c?
What is spark map function?
What is the description for syntax errors?
Can static variables be declared in a header file?