write a menu driven program in java to accept a number from the user and check whether it is a Duck Number or Neon Number . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

write a menu driven program in java to accept a number from the user and check whether it is a Duck Number or Neon Number .

Duck Number : a number said to be duck if the digit zero is present in it . Neon Number : a number said to be Neon if sum of digit of the square of a number is equal to the number itself .

28th Oct 2017, 3:24 AM
Nick
Nick - avatar
1 Answer
0
Take a look on JOptionPane
30th Oct 2017, 2:05 PM
Chris Winter
Chris Winter - avatar