write a c++program by using if statement to read a number and check whether it is positive or negative
45
if it's square root is an integer, it is a square number.
Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.
Type your answer here... i think we should first enter 1 number then check it
write a c++program by using if statement to read a number and check whether it is positive or negative
write a program in C to check whether a given number is apalindrome or not
8086 assembly language program to check wether given number is perfect or not
Going through a program on paper to check whether it has errors.
45
To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.
The program is here guys.......... //Finding whether the given number is perfect or not //Starts here #include<stdio.h> void main() { int i=1,temp=0,number; scanf("%d",&number); while(i<=number/2){ if(number%i==0) temp+=i; i++; } if(temp==number) printf("Its a perfect number"); else printf("Its not a perfect number"); } //ends here
It is a simple program. i think u may understand it :#include#include#includevoid main(){char s[10]=answers.com;char x[10];int a;clrscr();strcpy(x,s);strrev(s);a=strcmp(s,x);if(a==0){printf("the entered string is palindrome");}else{printf("the entered string is not palindrome");}output:given string is not palindrome
if it's square root is an integer, it is a square number.
Because it just checks if the wrong data has been entered in the wrong field.
Use the Exception class and type converters.
Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.Where do you get that idea? Who doesn't recognize the number 13? Better check whether Canada does, or does not, recognize this number, instead of just assuming such an improbable situation.