• "A Simple code on fb Password in C language"


            

#include<stdio.h>
#include<conio.h>
void main()
{
 clrscr();
 char a[10],k;
 int l,x,i=0,n;
 printf("password is=");
 while(i<10)
 {
  a[i]=getch();
  clrscr();
  printf("password");
  for(n=0; n<=i; n++)
  {
   printf("*");
  }
  i++;
 }
 printf("do you want to see your password y or n");
 k=getch();
 if(k=='y')
 {
  clrscr();
  printf("your password is=")   ;


  for(l=0; l<i; l++)
  {
   printf("%c",a[l]);
  }
 }
 getch();
}
 


 
Today, there have been 3147 visitors (5967 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free