Number 10

[ad_1]

Number 10
#include 
int main()
{
    int a = 30;
    int b = 10;
    int c = 15;
    int d = 5;
    int e;
    e = (a + b) * c / d;

    // ( 30 * 15 ) / 5
    printf("Value of (a + b) * c / d is :
    e = ((a + b) * c) / d;

    // (30 * 15 ) / 5
    printf("Value of ((a + b) * c) / d is :
    e = (a + b) * (c / d);

   // (30) * (15/5)
   printf("Value of (a + b) * (c / d) is :
   e = a + (b * c) / d;

   // 30 + (150/5)
   printf("Value of a + (b * c) / d is :
   return 0;
}

[ad_2]

Please follow and like us:
Content Protection by DMCA.com