Hey Connections!
Just wrote a code to print series of numbers from 1 to 5 with the help of a "𝙬𝙝𝙞𝙡𝙚 𝙡𝙤𝙤𝙥" with the condition as (𝙘𝙤𝙪𝙣𝙩 != 5).
A "𝙬𝙝𝙞𝙡𝙚 𝙡𝙤𝙤𝙥" in Java is a control flow statement that allows code to be executed repeatedly based on a given boolean condition.
It's mainly used when we don't know how many times loop will go.
#codingjourney #javaprogramming #kunalkushwaha #coding #dsawithkunal #java #learning
Негізгі бет Print series of numbers from 1 to 5
No video
Пікірлер