void neterminale()
{int nr=0,k;
printf("\nNeterminale: ");
for(i=1;i < =n;i++)
{for(k=0;k < strlen(p[i].st);k++)
if(isupper(p[i].st[k])&& !strchr(N,p[i].st[k]))
{N[nr]=p[i].st[k];
nr++;}
for(k=0;k < strlen(p[i].dr);k++)
if(isupper(p[i].dr[k])&& !strchr(N,p[i].st[k]))
{N[nr]=p[i].dr[k];
nr++;}
}
N[nr]='\0';
for(i=0;i < =nr;i++)
printf("%c ",N[i]);
}
void terminale()
{ int nrt=0,k;
printf("\nTerminale: ");
for(i=1;i < =n;i++)
{for(k=0;k < strlen(p[i].st);k++)
if(p[i].st[k]!=lambda && !strchr(N,p[i].st[k]) && !strchr(T,p[i].st[k]))
{T[nrt]=p[i].st[k];
nrt++;}
for(k=0;k < strlen(p[i].dr);k++)
if(p[i].dr[k]!=lambda && !strchr(N,p[i].dr[k]) && !strchr(T,p[i].dr[k]))
{T[nrt]=p[i].dr[k];
nrt++;}
}
T[nrt]='\0';
for(i=0;i < =nrt;i++)
printf("%c ",T[i]);
}
CCSuite - CC Monitoring, CC Reports and AliveCheck
CC Monitoring, CC Reports and AliveCheck Create together a powerful application, user friendly, that helps managing, monitoring ...
-
Chestia asta preia din orice tabela mai intai header-ul, apoi toate inregistrarile si le afiseaza intr-un tabel. Este foarte potrivita pe...
-
CC Monitoring, CC Reports and AliveCheck Create together a powerful application, user friendly, that helps managing, monitoring ...
-
Examen: // Sisteme inferior triunghiulare #include “stdio.h” #include “conio.h” float a[10][10],b[10],x[10]; int n,i,j; vo...