sum of digit
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: sum of digit

  1. #1
    Join Date
    May 2013

    Post sum of digit

    i got problem during solving this:

    suppose given digit sequence is 12345

    so i have to find sum which is 15(1+2+3+4+5).......

    please some one help me ......


  2. #2
    Join Date
    May 2013

    Re: sum of digit

    emu 8086

  3. #3
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012

    Re: sum of digit

    So what progress have you made so far? As this looks like a homework assignment, we can't give you the solution

    Without coding in assembler, how would you solve this problem? First you need to design the program and only when you are happy with that then code the design (in this case into assembler).

    If you post code you have so far, we'll provide guidance.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2017 (15.6.4)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)