another programming question

mooo

thecyberninja
#1
was thinking about just putting this in other post but wasn't sure.

Say i input 4 numbers (we will use 3456), is there a way to just add the numbers like 3+4+5+6=x .. i was thinking a while loop but i am not sure how to make it read one place when you have to input the whole number at once. Does anyone know a formula that might do this? thanks in advance.

mooo


(mod if you thinkit should be moved pls do, was not sure if i should or not)
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,975
Messages
673,310
Members
89,016
Latest member
Poseeut