C program to check whether number is Perfect Square or not April 13, 2021 Given a Number is Perfect Square or Not/*C program to check number is perfect square or not.*/ #include <stdio.h>#include <math.h> int main(){ int num; int iVar; float fVar; printf("Enter an integer number: "); scanf("%d",&num); fVar=sqrt((double)num); iVar=fVar; if(iVar==fVar) printf("%d is a perfect square.",num); else printf("%d is not a perfect square.",num); return 0;}------------------------------------------------------------Output Tweet Share Share Share Share About Code2Chef Computer Hardware or Software does nothing without a computer program guiding. Related Post To Find Factorial of a Given Number in C programc program for Factorial of a Given Number #include <stdio.h> int main(){ int num,i; C program to convert number from Binary to Decimal Number A Given Binary Number to Decimal Number /* C program to convert the given binary number C program to calculate ageAge Calculator/*Age Calculator */ #include <stdio.h>#include <time.h> /*checkCheck Prime Number using C program Given Number is Prime Number or Not /*Program to check entered number is whether prime o
ConversionConversion EmoticonEmoticon