Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: cplusplusnoob

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    681

    Re: Ignore negative number

    True however it would still take an inputted negative number how do i prevent that from happening.
  2. Replies
    4
    Views
    681

    Ignore negative number

    Hey I need help with ignoring negative numbers when I am trying to add up only positive numbers.


    SAMPLE:
    if (num>=0) {
    sum= sum + num;
    }
    else
Results 1 to 2 of 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center