Write an algorithm to print first N even numbers.
kajalmajumdar:
please help me on this question
Answers
Answered by
3
Print N Even No. is 2
Answered by
8
Following are the algorithm to print first N even numbers is given below.
Explanation:
- Step 1:Read the number of terms by the user suppose in the "n" variable as the integer type also declared the "k" variable as the integer type .
- Step 2: begin the for loop
for k=2;k<=n;k=k+2
display k
- Step 3 :End
Learn More :
- brainly.in/question/7926082
Similar questions