Page 1 of 1

1. Write a java program to print the nth digit of a number where n is a positive number.2. Write java program to find

Posted: Fri May 20, 2022 11:43 am
by answerhappygod
1. Write a java program to print the nth digit of a number where n is a positive number.2. Write java program to find sum of all digits. Input 23617 output 2+3+6+1+7 =19.
3. Write a java program that will count occurrence of a given number in an array.