P004.c
Problem Statement
P004.c
WAP to find and display the value of given expression : ((x+3)/4) - ((2x+4)/3) taking the value of x = 5
Source Code
c
#include<stdio.h>
int main() {
double x =5, result;
result = ((x + 3) / 4) - ((2 * x + 4) / 3);
printf("Result = %lf",result);
return 0;
}1
2
3
4
5
6
7
2
3
4
5
6
7
● Author - Amit Dutta · Updated - 12 Dec 2025