# Display the First 'n' Prime Numbers

Learn to write pseudocode and draw a flowchart to output the first n prime numbers.

## Problem statement

You are required to print the first *n* prime numbers.

## The main steps in problem-solving

### Understand the problem

Carefully read the problem and think about the expected output. For instance, if *n* is 4, the first four prime numbers will be output as 2, 3, 5, and 7.

Get hands-on with 1200+ tech skills courses.