I'm also a begginer, in my opinion the best way at the start to make loops, is:
1.use do{...}while();
2.create a bollean ans use for(int i =0; boolean; i++); when u want to end the loop put...