Sign InCreate Account

EditorProjectsPseudocode TutorPractice QuestionsCode ConverterCode GeneratorFlowchartsUpgrade
Back to Problems
PreviousNext

You need to sign in to test your code and save your progress on this question.

Problem Description

Print Even Numbers to N

Medium
Loops
Arithmetic

Write a program that takes an integer `N` as input and outputs all even numbers from 2 up to `N` (inclusive), each on a new line.

Example Input

6

Example Output

2 4 6

Success Rate:

0% (0 passed / 0 attempted)

Code

Unsaved

Test Results

Click "Run Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ

© 2026 PseudoEditor. All rights reserved.