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

Publié le: 20 novembre 2022
sur la chaîne: 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.
*/


Sur cette page du site, vous pouvez voir la vidéo en ligne Pronic Number using Java Program | Taking Input from User | Java Program | @CodeWithAvi durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CodeWithAvi 20 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 124 fois et il a aimé 2 téléspectateurs. Bon visionnage!