Julia Program While Loop

Today i trying to execute while loop in Julia

Julia is a  Open Source.Julia is free for everyone to use..Julia is a high-level general-purpose dynamic programming language that is designed to address the needs of high-performance numerical analysis and computational science, without the need of separate compilation to be fast.

Julia is used in

  • Machine Learning
  • Data Science
  • Visualisation
  • General Purpose
  • Parallel Computing
  • Scientific Domains

While Loop  to print even number between 2 to 10 .

 To print the even number we will first declare a variable called as 'a' and assign a value as two. This is very simple just declare as follow a=2;

In the next line we will create a while loop.

while a <10
        if(a%2 == 0)
        global a=a+1

here we are checking by using if condition , if the number is divisible by 2 then it is even number. Lets execute the script and see

Output : 

Next :  Main Menu


  1. Feedback from my students made the course better and better. The ability to "instantly" change my website meant that I could swiftly correct errors and explain myself. machine learning and artificial intelligence courses in hyderabad

  2. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai


Post a Comment