#Number m's first n digit sum

7 messages · Page 1 of 1 (latest)

untold trout
#

Hi, I'm new to C++ and I would like to ask for help. I've been given a homework where I need to create a code which takes m number and sums It's first n digits. By doing research I have understood how to make so it sums all of the digits of that number, however I can't find an answer to my problem. If anyone could help, I would greatly appreciate it!

loud fieldBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

abstract peak
#

"how do I do this" is a poor question for this server, instead "here's my code not sure why it's not working"

untold trout
#

!solved

loud fieldBOT
#

Thank you and let us know if you have any more questions!

#

[SOLVED] Number m's first n digit sum

loud fieldBOT
#

@untold trout

This question thread is being automatically marked as solved.