write a program in bluej to input magical no
Answers
Answered by
0
Answer:
- Enter any number : 145.
- 145 is a Magic number. Another way of checking whether a given number is Magic number or not is given below.
- import java.util.*; public class JavaHungry { public static void main(String args[]) { System. out. println("Enter any number : "); Scanner scan = new Scanner(System.
Similar questions