Comentati linie cu linie urmatorul program si realizati schema logica. Ce face programul?___________________________________________________________ ___________________________________________________________________________ main() { int i,j,n=5; float a[5]={-2,3,-5,4,0},b[5]; for (j=0,i=1;i<=5;i++) if (a[i]<0){ j++; b[j]=a[i];} if (j) printf(“\n Gasit %d valori”,j);}
________________________________________ ________________________________________ ________________________________________ ________________________________________ ________________________________________ ________________________________________ ________________________________________ ________________________________________ ________________________________________
Schema logica:_______________________________________________________________ ___________________________________________________________________________