Decimal to Binary Conversion Help
Im currently a final year in colorado needing help with ALP.
Im trying to create a simple program that has aa number of functions, the problem im having is converting a input number from a user to binary form.
I know the conversion rule (divde by 2, if there is a remainder then wirte 1, if not 0, keep doing until the answer is 0 then read it backwards) and it is simple in java but im having problems gettign my head around it in ALP.
I have currently figured out how to ask for a prompt from the user,
Read the usr input and then store that input.
For some reason i am constantly thinking i am going to need a loop in order to carry this out. Am i correct?
Please help, it would really be appreciated.
|All times are GMT +5.5. The time now is 03:07.|