Program to illustrate Associative law for Arithmetic Operators

  
     # include <iostream.h>
     int main( )
     {
          int a, b, c, d, e, f;
          a = 5, b = 2 ;
          c = 3,  d = 7;
          e = 13;
          f = a * b - d % c + e ;
          cout<<"\n value  =  "<<f ;
          return 0;
      }

No comments:

Post a Comment