char p1='1' ,p2='2' ,p3='3' ,p4='4'; //variables to store password (I used array here but it doesn t work idk why) char g1=1 ,g2=2 ,g3=3 ,g4=4; //variables to store the guessed password ...