|
-
September 29th, 2009, 10:35 PM
#1
Homework Help! Probably very easy...
I have been doing this homework since the day it was assigned and I have 3 problems left out of 11 with absolutely no clue on how to do them.
Please help me its due tomorrow!
Here's one of them..
It wants me to write a program that prompts the user to input an integer and then output both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 as 3 4 5 6, output the individual digits of 8030 as 8 0 3 0, output the individual digits of 2345526 as 2 3 4 5 5 2 6, output the individual digits of -2345 as 2 3 4 5.
It seems like it would be very easy but I just can't seem to come up with what to do and my professor won't pick up his phone! LOL =[
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|