hey guys, im a newbie who has just started programmin. i recieved a homework question which has something to do with this..

"The program has to ask a user to enter their name, and the output will be :

User entered david.. the output will be:

i) The ascii value for D is 68, a 97, v 118, i 105, d 100

ii)68 in binary is 10001000

97 in binary is 1100001

etc....

iii) the number of ones in the binary code for david is 2,3 etc.. and this number can be joined as 23etc....

iv)reading this number right to left gives us etc32...which can be converted to binary.

v)then this number in decimal would be.....

vi)then adding the decimal numbers together will give us a number.. then adding both numbers in that number together will give us the answer.

thats it for now.. if any1 can help me thru this or if i cud get sum ideas on where to start.. nething would be appreciated..

thanks in advanced