Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class konwertuj {
- static int[] konw(String[][] tab){
- int[] dlugosci = new int[tab.length];
- for(int i=0;i<tab.length;i++){
- String temp = tab[i][0];
- char[] czar= temp.toCharArray();
- for(int j=0;j<czar.length;j++){
- if(czar[j]>90) czar[j]-=32; }
- temp="";
- for(char a:czar){
- temp+=a;}
- tab[i][1] = temp;
- dlugosci[i] = temp.length();
- }
- return dlugosci;}
Add Comment
Please, Sign In to add comment