Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can I make sure that my program is the only one accessing a file?

1289


What is a MAC Address?

1071


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1210


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.

2849


Why array is used in c?

1026


What are runtime error?

1144


What are terms in math?

1060


What is huge pointer in c?

1097


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1260


What is a #include preprocessor?

1163


What is calloc() function?

1116


How to Throw some light on the splay trees?

1066


What does typedef struct mean?

1119


How can you draw circles in C?

1158


Is c still used?

1056