P004.c (255B)
1 /* WAP to find and display the value of given expression : 2 ((x+3)/4) - ((2x+4)/3) taking the value of x = 5 */ 3 4 #include<stdio.h> 5 int main() { 6 double x =5, result; 7 result = ((x + 3) / 4) - ((2 * x + 4) / 3); 8 printf("Result = %lf",result); 9 return 0; 10 }