// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// assignment operators
// %, +=, -=, *=, /= , =
#include 
#include 

int main()
{
        int total ;

        // using <=, we go thru this loop 5 times
        //  i = 1, 2, 3, 4, and 5 before exiting
        // this function adds #'s 1 to 5
        for(int i = 1 ; i <= 5 ; i++)
                total += i ;   // same as writing...
                              //              total = total + i ;

        int people = 5 ;  // sets people equal to 5

        total /= people ;    // same as writing
                                // total = total / people ;

        total *= people ;    // same as writing
                                // total = total * people ;

        total -= people ;    // same as writing
                              // total = total - people ;

        total = 56 ;
        int remainder ;
        remainder = total % 10 ;  // the % is called mod
                                // and it gives you the remainder
                                // of a division
                                // so in this example, 56 % 10 would give
                                // us 6 as the remainder

        total %= 10 ;   // this would be the same as
                        // total = total % 10 ;

        getch() ;
        return 0 ;
}

    Source: geocities.com/neonprimetime.geo/cpp/cpp_SourceCode

               ( geocities.com/neonprimetime.geo/cpp)                   ( geocities.com/neonprimetime.geo)