Alogoritmi

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

1.

public int CelMaiMicNumar(int[]x){


if(x==null){
return=-1;

}
for(int y:x){
if(y==minx[i]){
return y;
}
}

2.public char CeaMaiMareLitera(String x){


String "x" = int []y;
int [] y=new int [i];
for(int z:y){
if(z==min x[i]){
return 'z';

}
}

sau String x= "x";


"x".charAt(i)
if(z==minx[i]){
return 'z';
}

You might also like