P004.c (392B)
1 /* 2 * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 3 * Repo: https://github.com/notamitgamer/bsc 4 * License: MIT 5 */ 6 7 /* WAP to find and display the value of given expression : 8 ((x+3)/4) - ((2x+4)/3) taking the value of x = 5 */ 9 10 #include<stdio.h> 11 int main() { 12 double x =5, result; 13 result = ((x + 3) / 4) - ((2 * x + 4) / 3); 14 printf("Result = %lf",result); 15 return 0; 16 }