Which of the following functions is performed by the program given below? class Demo { public static void main(String args[]) { int m, n=4325; int s=0; while(n!=0) { m=n%10; s=s+m; n=n/10; } System.out.println(“…………”+s); } }
Reveal answer
Fill a bubble to check yourself