Introduction
In this lab, we will learn how to print the modified Floyd's triangle pattern using the C++ programming language. The modified Floyd's triangle pattern is a right-angled triangular array of natural numbers where each row starts with the row number and contains a number of columns equal to the row number.