Computer Science, asked by amitsai191919, 1 year ago

why is my code not working..........here is the code made using C Language
#include
#include
#include
#include
main(){
char password;
char pw;
printf("Enter Your Password(4 Characters Only): ");
scanf("%c", &password);
printf("Enter Password: ");
scanf("%c", &pw);
if(pw==password){
printf("Correct Password!");
}
else{
printf("Wrong Password........Try Another");
}
getch();
}

Answers

Answered by Genuinegirl
0

No i think language here used means the codes are in HTML form..

◆◆◆◆◆◆◆◆◆◆◆●●●●●●◆◆◆◆◆◆◆◆

#Hope it helps

#Pleasured to help

#Be brainly....:)


amitsai191919: I compiled it in Dev C++ and the output after you enter right pass also it displays "Wrong Password...........Try Another
Similar questions