Loops (Flow Control)

 Java Complete Course | Placement Series | DSA

1.Loops Basics

2.while Loop


3.Print numbers from 1 to 10

4.Print numbers from 1 to n

5.Sum of first N natural numbers

6.for Loop

7.Print Square pattern

8.Print reverse of a number

9.Reverse the given number

10.do while Loop

11.Break statement

12.Question - break keyword

13.Continue statement

14.Question - continue keyword

15.Check if a number is Prime or not


Post a Comment

0 Comments