Program To Check for Spy Number in Java | java programming | Java Online Training

Pubblicato il: 06 marzo 2021
sul canale di: SRV Institute of technology by Shashi sir
338
19

Program To Check for Spy Number in Java | java programming | Java Online Training

   / @srvinstituteoftechnologyby7299  

Program To Check for Spy Number in Java
Spy Number
A spy number is a number where the sum of its digits equals the product of its digits. For example, 1124 is a spy number, the sum of its digits is 1+1+2+4=8 and the product of its digits is 1*1*2*4=8

Given a number N. The task is to find the Spy Number.
Input : N = 1124
Output : Sum = 1+1+2+4=8
Product=1*1*2*4=8
8 == 8

if (Sum == Product ) then Given Number is Spy Number.

#java #bluej #programming #developer #python #learning #edtech #classroom #edapp #elearning #mlearning #scichat #icsesiniogren #icseboard #icsc #cbsc #computer
#spy #spyno #corejava #program


In questa pagina del sito puoi guardare il video online Program To Check for Spy Number in Java | java programming | Java Online Training della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SRV Institute of technology by Shashi sir 06 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 338 volte e gli è piaciuto 19 spettatori. Buona visione!