Computer Science, asked by Ankush777, 1 year ago

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 vistdo
0
international numbers 12345

Ankush777: What is the output of the above..
Similar questions