CBSE Class 11 Computer Science Question 42 of 80

Getting Started with Python — Question 7

Back to all questions
7
Question

Question 7

Write a pseudocode to print all multiples of 5 between 10 and 25 (including both 10 and 25).

Answer
Step 1: SET start = 10
Step 2: SET end = 25
Step 3: FOR num = start TO end
    Step 4: IF num MOD 5 is 0 THEN
        Step 5: PRINT num