Daniweb Rule:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

plus this isn't as hard as you think, shouldn't take you long if your search the web for examples, which part are you having problem with?

let's start with the first step:

divide the number by 100 then store the value in another variable to get the first digit

divide the number by 10 then store the value in another variable to get the second digit

as for the third digit located in the ones place you could multiply the first 2 by their respective place value, add them, then subtract it from the main number to get the one's place digit

Sorry to hear about your illness, that happens to everyone. When that happens to you after you start working do you really expect other people to do all your work for you?? It ain't going to happen. If you don't remember how to do it then you need to refresh your memory by re-reading your text book and studying the examples in it. Or just drop the course and take it again next semester.