Pronic Number using Java Program | Taking Input from User | Java Program | @CodeWithAvi

Published: 20 November 2022
on channel: CodeWithAvi
124
2

In this video we are going to learn how we can take inputs from the user as a Number and evaluate it and find if it is a Pronic Number or not and print it to the user using Java Program.

/*
Pronic or Heteromecic Number: A pronic number is a number which is the product of two consecutive integers, that is, a number of the form n(n + 1).

For example:

6 is a pronic number as it is the product of two consecutive numbers 2 and 3.i.e. 6 = 2*3.

72 is a pronic number as it is the product of two consecutive numbers 8 and 9.i.e. 72 = 8*9.
*/


On this page of the site you can watch the video online Pronic Number using Java Program | Taking Input from User | Java Program | @CodeWithAvi with a duration of hours minute second in good quality, which was uploaded by the user CodeWithAvi 20 November 2022, share the link with friends and acquaintances, this video has already been watched 124 times on youtube and it was liked by 2 viewers. Enjoy your viewing!