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