Exercise 2: Series Of Numbers

Let's display a table of numbers by using a two-dimensional array.

Problem Statement

In this exercise, you have to write a function display that takes an integer size, creates a 2-d array of this size and prints the table in the output below.

Sample input

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy