numbers , adding
Author 
Message 
Hackster

Posted: Sat Mar 06, 2004 2:44 pm Post subject: numbers , adding 


help, i submitted this here and in the submissions to get a better response, i need help with three three digit numbers and add the three numbers of each number to each number in the three numbers. if that makes any sense 





Sponsor Sponsor



guruguru

Posted: Sat Mar 06, 2004 2:53 pm Post subject: (No subject) 


umm... no it doesn't really make sense...
Do you mean: User inputs a three digit number (e.g. 572), then another, then another. Then you add the first digit of the first number to the first digit of the second number... wow i'mm confused...
lolx...
Wow what a mundane assignment.... 





Hackster

Posted: Sat Mar 06, 2004 2:56 pm Post subject: (No subject) 


i know, thats exactly what i need to do
ex.
123
456
789
1+4
1+5
1+6
etc.
but i don't know how to do tthat in turing 





Dan

Posted: Sat Mar 06, 2004 4:00 pm Post subject: (No subject) 


i still dont get what u mean....
if you input :
123
456
789
do you whont it to add 1 + 4 + 7, 2 + 5 + 8 and 3 + 6 + 9?
Edit: nvm this is a doube posting, locked 
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! 





