Zadatak3.11-Pangram

include <iostream>

using namespace std;

int main()
{
bool moze;
int n,i,niz[26]{},j;
cin>>n;
char pom,rijec[n];
i=0;
while(i<n)
{
cin>>rijec[i];
pom=tolower(rijec[i]);
rijec[i]=pom;
i++;
}
string abc=“abcdefghijklmnopqrstuvwxyz“;
for(i=0;i<n;i++)
for(j=0;j<26;j++)
{
pom=abc[j];
if(rijec[i]==pom)niz[j]=1;
}
moze=true;
for(i=0;i<26;i++)
{

if(niz[i]==0)moze=false;
}
if(moze)cout<<„DA“;
else cout<<„NE“;
return 0;
}

Advertisements