QuesAns Print Page – CSKC
Sign In

Search

siteicon
Q&A ICSE2018-B05 #7190

Question:

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 x 4
20 = 4 x 5
42 = 6 x 7