Question: Please answer in C++. 4 Triangular numbers A positive integer n is triangular if it can be obtained by the product of three consecutive positive
Please answer in C++.
4 Triangular numbers A positive integer n is triangular if it can be obtained by the product of three consecutive positive integers. Given n > 0, determine whether n is triangular. For example, 120 is triangular, since 4.5.6 = 120
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
