solve the rest of exercise guys
Attachments:
Answers
Answered by
1
There you go, mate! Solved it for you on the same book:)
Attachments:
Answered by
0
Answer:
#include<stdio.h>
#include<conio.h>
main()
{
while(1)
{
int num,dup,d,rev=0;
printf("Enter a number here");
scanf("%d",&num);
dup=num;
while(num>0)
{
d=num%10;
num=num/10;
rev=rev*10+d;
}
if(rev==dup)
{
printf("It is a palindrome number.\n");
}
else
{
printf("It is not a palindrome number.\n");
}
getchar();
}
}
Explanation:
uhfhvufhcgcgfg to thumhara yyyyy to thumhara to thumhara yyyyy ko
Similar questions