long NUM = 1234543;
int F = 0, S = 0;
do
int Rem = NUM%10;
if(Rem%2 != 0)
F += Rem;
else
S += Rem;
NUM /= 10;
}while(NUM>0);
cout<
Output?
Answers
Answered by
0
Answer:
i think it will display 199
Explanation:
hjsisjaha
Similar questions
Accountancy,
5 months ago
Hindi,
5 months ago
Social Sciences,
5 months ago
Math,
9 months ago
Math,
9 months ago
World Languages,
1 year ago