Solution
#include <stdio.h>
int main()
{
int a, n;
scanf("%d", &n);
for(a = 0; a <= n; a++)
{
if (n == a * a)
{
printf("TRUE");
return 0;
}
}
printf("FALSE");
return 0;
}
For python program visit the link given below.This blog is to help for the programmers to learn the programs and not to demotivate any people .Our intention is to make the learners to learn the code easily.
34
FALSE
121
TRUE
Problem Description Ram and Sita playing the parity game. Two types of parity are there. One is odd parity and next is even parity. Ram will...
No comments:
Post a Comment