Why i can't enter 4numbers and they came out as 4 numbers since its 2d array, Im trying to do the same code i did in c++ in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why i can't enter 4numbers and they came out as 4 numbers since its 2d array, Im trying to do the same code i did in c++ in java

https://code.sololearn.com/cssxSUUHznnH/?ref=app https://code.sololearn.com/cXLY7XxCD52t/?ref=app

12th Nov 2019, 10:45 PM
Doaa Ahmed
Doaa Ahmed - avatar
2 Answers
0
Okay Thanks for pointing that out i have just copied it from the computer and didn't check correclty
13th Nov 2019, 7:03 AM
Doaa Ahmed
Doaa Ahmed - avatar
0
Now it just made more ouput of the numbers like i want only one pair of { {1,2}, {3,4}} Im afraid of i changed anything i will mess up my lopps Also it won't let me add For example Arrays.stream(min_num[i+1]). ForEach(system.out: : println) In the if else statments
13th Nov 2019, 7:08 AM
Doaa Ahmed
Doaa Ahmed - avatar