Write a program to input a number and check and print whether it is a pronic number or not. (pronic number is the number which is the product of two consecutive integers)example:-12=3×4,20=4×5,42=6×7.
Answers
Answered by
0
Answer:
Write a program to input a number and check and print whether it is a Pronic number or not.
Pronic number is the number which is the product of two consecutive integers.
Examples:
12 = 3 × 4
20 = 4 × 5
42 = 6 × 7
Similar questions