i want to extract
576
to
hundreds = 5
tens = 7
ones = 6
my code does this purpose, but..
h=num/100;
t=(num-(h*100))/10;
o=((num-(h*100))-(t*10));
i want to rewrite my code using loop and modulus operator..
help guys. thanks
btw: i'm writing a program that converts numbr to w.ord-/.