Write a program to read a number, calculate the sum of squares of even digits (values) present in the given number. Input and Output Format: Input consists of a positive integer n. Output is a single integer . Refer sample output for formatting specifications. Sample Input 1: 56895 Sample Output 1: 100 Sum of Squares

Write a program to read a string of 10 digit number, check whether the string contains a 10 digit number in the format XXX-XXX-XXXX where ‘X’ is a digit(Number Validation). Input and Output Format: Input consists of a string. The output is a string specifying the given string is valid or not. Refer sample output for

Write a program to read a number, calculate the sum of odd digits (values) present in the given number. Check Sum of Odd Digits in java Input and Output Format: Input consists of a positive integer n. Refer sample output for formatting specifications. Sample Input 1: 56895 Sample Output 1: Sum of odd digits is