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 isPlease 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!