Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public static String [] apelidonome(String participantes[][],int nElem){
  2. String []apelido=new String [nElem];
  3. for(int i=0;i<nElem;i++){
  4. String tmp[]=participantes[i][1].split(" ");
  5. char a=tmp[1].charAt(0);
  6. apelido[i]=+a+". "+tmp[1];
  7. }
  8. return apelido;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement