Exercise 2: Series Of Numbers

In this exercise, you will be required to use a two-dimensional array to display a table of numbers

We'll cover the following

A two-dimensional array stores values in rows and columns.

It can be declared in the following format:

int tArr[5][5];

The multidimensional array above will form a table with 5 rows and 5 columns.

Problem Statement

By using a two-dimensional array, write C++ program to display the exact table of numbers that is shown below:

Create a free account to access the full course.

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