Dyskusje Q&A
int *(*f) (int x, int *y[]);
0 głosów
4 odpowiedziwhat is int mod (int a);
0 głosów
2 odpowiedziWhat is the output and why?
public static int[] make (int n){
int[]a=new int [n];
a [i]=i+1;
}
return a;
}
public static void dub (int []jub){
for (intent i=0;i <jub.length;i++){
jub*=2;
}
}
public static int mus (int []zoo){
int jus=0;
for (int i=0;i <zoo.length;i++){
jus+=zoo [i];
}
return jus;
}
public static void main (String [] args){
int [] bob =make(5);
dub (bob);
System.out.println (mus (bob));
}
0 głosów
2 odpowiedziPopularne dzisiaj
App doesnt work
6 Votes
Learning Questions
2 Votes
Ballpark Orders
3 Votes
Why do I lose my strike?
0 Votes
Recent update issues?
1 Votes
App is slow on july 3
0 Votes
What could it be?
1 Votes
The holes of universe 🚀
1 Votes