write a c program to find the square of a 5 digit number
and print the result.
Answer Posted / sreenu
#include<stdio.h>
#include<conio.h>
void main()
{
long i,j
clrscr();
printf("enter the number");
scanf("%ld",&i);
j=i*i;
printf("the sqare of the number is %d",j);
getch();
}
| Is This Answer Correct ? | 30 Yes | 23 No |
Post New Answer View All Answers
How can I make sure that my program is the only one accessing a file?
What is a MAC Address?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Why array is used in c?
What are runtime error?
What are terms in math?
What is huge pointer in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What is a #include preprocessor?
What is calloc() function?
How to Throw some light on the splay trees?
What does typedef struct mean?
How can you draw circles in C?
Is c still used?