Posts

Showing posts from 2018

program to check ASCII value of a character

Image

simple interest

Image

Program to check palindrome number in C language...

#include<stdio.h> #include<conio.h> void main() { int a,b,c,d; clrscr(); printf("\nEnter a number: "); scanf("%d",&a); d=0; b=a; while(b>0) { c=b%10; d=d+c*c*c; b=b/10; } if(d==a) { printf("\nPalindrome number."); } else { printf("\nNot Palindrome number."); } getch(); }