F&A Diskussionen
C# method confusion...
4 Stimmen
20 AntwortenWhat 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 Stimmen
2 AntwortenHeute heiß
Hi help me I am new
1 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Where can I learn c#
0 Votes
Question to sololearn
1 Votes
What should i do
0 Votes
Backend Hosting Service
0 Votes
Where did mess up....
0 Votes