Q&A Discussions
what is int mod (int a);
0 Votes
2 AnswersWhat 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 Votes
2 AnswersHot today
Can I learn from sololearn for free ?If yes then why can't I open the next level in genai course?
0 Votes
Cvv fullz
0 Votes
How to make a message in python
0 Votes
HW help
0 Votes
Übersetzung deutsch
0 Votes
Layout or SplashActivity
1 Votes
Kaleidoscopes
1 Votes