CodeGym /Kursy /Składnia Java /Zadania dotyczące pętli Zadania dotyczące pętli Składnia Java Poziom 4 , Lekcja 10 Dostępny – Cześć, Amigo! – Słyszałem, że uczysz się o pętlach. Dam Ci zatem kilka zadań. Komentarze (4) TO VIEW ALL COMMENTS OR TO MAKE A COMMENT, GO TO FULL VERSION Damian Poziom 5 18 maja 2021 Its simple :) Once I did the same with for loop.Logically its seems the same :) Kara Poziom 10, Lodz, Poland 1 maja 2020 The last task is very confusing to me. Can one really make it look so nicely with only while loop + 'println'? I have used 'printf', which hasn't been explained so far. Jaki Taki Poziom 1, Poznan, Poland 18 lipca 2020 I used list.stream.map.collect(Collectors.joining(" ")). It gives you one line but I hasn't been explained so far either. Przemek Z. Poziom 19, Toruń, Poland 21 grudnia 2020 Use while loop in while loop.
GO TO FULL VERSION