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

Pubblicato il: 19 novembre 2022
sul canale di: CodeWithAvi
21
1

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.
*/


In questa pagina del sito puoi guardare il video online Pronic Number using Java Program | Taking Input from User | Java Program | della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeWithAvi 19 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 21 volte e gli è piaciuto 1 spettatori. Buona visione!