rev='made'/> name='keywords'/> name='author'/> ANURANAN: UVa Solution 10110 : Light, More Light

Welcome Note

Hi,
I'm Anisuzzaman Babla . I am a full stack Android Application Developer. I am working with Android for more than two years. I have completed my graduation from IIT, Jahangirnagar University. I have developed a series of commercially successful apps on Android. Moreover, 10+ of my Apps are live at Google play store. .
Thank You

UVa Solution 10110 : Light, More Light

#include<stdio.h>
#include<math.h>
int main()
{
long int r;
long double root,num;
while(scanf("%Lf",&num)==1)
{
if(num==0) break;
r=sqrt(num);
root=pow(r,2);
if(root==num)printf("yes\n");
else printf("no\n");
}
return 0;
}

No comments:

Post a Comment