Computer Science, asked by premdamastermind34, 8 months ago

an algorithm to write first ten even number without using any programming languages

Answers

Answered by Pablu
0

Answer:

Explanation:

  •    Start.
  •    Declare a count variable (to keep track of number of even number   printed)
  •    Run a for loop from 1 to 100 (say 100)
  •    Check if count has reached the number of even number printed as 10.
  •    Check if the current number in the loop is divisible by 2.
  •    If yes, then increment the count and print the current number. ...
  •    Stop.
Similar questions