You are viewing a single comment's thread. Return to all comments →
fgets(s , sizeof(s) , stdin); int c =65,check=0; while(c <= 90 && c>=65) { for(int i=0 ; i<strlen(s) ; i++) { if((int)s[i]==c || (int)s[i]==(c+32)) { check++; break; } } c++; } if(check == 26) cout<<"pangram"; else cout<<"not pangram";
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →