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
Write a program to use switch statement.
What are runtime error?
What are the 5 types of organizational structures?
What is C language ?
Why doesnt that code work?
code for quick sort?
What is string function c?
What is the advantage of c?
What is string concatenation in c?
If errno contains a nonzero number, is there an error?
What is the use of parallelize in spark?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is oops c?
What is "Duff's Device"?
What is the purpose of 'register' keyword in c language?