Exercise 2: Display Series with a 2D Array
Display a table of numbers by using a two-dimensional array.
We'll cover the following
Problem statement
Write a display
function that takes an integer size
, creates a 2D array of the specified size, and prints the table in the output below.
Sample input
Create a free account to access the full course.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy