#include<stdio.h> #include<conio.h> void main() { int t,k,n; clrscr(); printf("Enter the password"); scanf("%d",&n); while(n>0) { t=n%10; t=t+1; printf("%c\n",t); //printf("%d\n",t); n=n/10; } getch(); }