online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> int isPangram(char x[200]){ int j = 0; char y[26]; int count = 0; char m = 'a'; int k = 26; while(k!=0){//O(26) int flag = 0; int i = 0; for(;x[i];i++){//this will travel entire sentence=> O(sentence character's count) if(m==x[i]){ count++; flag++; break; } } if(flag==0){ y[j] = m; j++; } int g = m; m = (g+1); k--; } for(int h=0;h<j;h++){ int r = (int)y[h]; int f = r-32; char p = (char)f; for(int i=0;x[i];i++){ if(p==x[i]){ count++; break; } } } return count; } int main(){ char x[200]; scanf("%[^\n]s",x); //railwayTimeConversion(x); int res = isPangram(x); if(res==26){ printf("Pangram"); } else printf("Not"); return 0;}

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue