import java.io.*;
import java.util.Scanner;
public class factorial
{
public static void main(String[] agrs)
{
int prod=1,num ,i;
System.out.println("Enter a number:-");
Run It Now!
A number is called lucky if the sum of its digits, as well as the sum of the squares of its digits is a prime number. How many numbers between A and B are lucky? Run It Now!