C Project – How to Read a Password in C with Source Code
Program 1 #include<stdio.h> #include<conio.h> #define clrscr() system(“cls”) int main() { static int i=0; char ch1,ch2,ch3,ch4; clrscr(); pin:printf(“\nEnter a pin: “); ch1=getch(); printf(“*”); ch2=getch(); printf(“*”); ch3=getch(); printf(“*”); ch4=getch(); printf(“*”); if(ch1==’1’&&ch2==’2’&&ch3==’3’&&ch4==’4′) printf(“\nYou are valid user”); else...

