#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
int main()
{
bool upper, digit, dollar;
char password[50];
printf("Password must include number, uppercase letter & a dollar sign");
printf("\n\nPlease Enter Your Password: ");
scanf("%s", password);
for(int i = 0; i <= 50 ; i ++){
if (isupper(password[i]) ){
upper = true;
}
if (isdigit(password[i])){
digit = true;
}
if ((password[i]) == '$'){
dollar = true;
}
}
if(upper && digit && dollar){
printf("\nLoading....");
} else {
printf("\nPassword must Include Capital letter, Number and Dollar sign!");
}
return 0;
Thanks bro
ɛ n h ᴀ n c ɛ ґ 🧟♂️
Mustapha
Anonymous
Ludovic 'Archivist'
KAZEEM
Pavel
Golden Age Of
Ka. LOVE |• kalhim ng ilaw • TSV: Lokal ng SUCAT