Write a C++ program to print a triangle of prime numbers upto given number of lines of the triangle

write a C++ program to print a triangle of prime numbers upto given number of lines of the triangle

Output

triangle of prime numbers upto given number of lines of the triangle
triangle of prime numbers upto given number of lines of the triangle