int num=12345;
int rem=0,f=0,s=0,t;
Do
{
rem = num % 10;
If (rem%2!=0)
f+=rem;
Else
s+=rem;
num/=10;
}
While(n=0);
t=f-s;
System.out.println(t);
Answers
Answered by
0
international numbers 12345
Ankush777:
What is the output of the above..
Similar questions
Math,
8 months ago
English,
8 months ago
Computer Science,
8 months ago
Social Sciences,
1 year ago
Physics,
1 year ago
Math,
1 year ago