I want to my program to prompt user to input a number with three or more integers I need the program to output a space between each numebr
example: cin>>3334;
i want the output to show 3 3 3 4 each with a space and then i also need to output the sum of these number so 3+3+3+4? how do i do this can some help me asap
thanks a lot in advanced
stefy14 0 Newbie Poster
gabryprof 2 Newbie Poster
dusktreader 137 Posting Whiz in Training
mrnutty 761 Senior Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
mrnutty 761 Senior Poster
Fbody 682 Posting Maven Featured Poster
stefy14 0 Newbie Poster
oselenius 0 Newbie Poster
vijayan121 1,152 Posting Virtuoso
oselenius 0 Newbie Poster
amisha_1 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.