Skip to content

p004.c

Problem Statement

WAP to find and display the value of given expression : ((x+3)/4) - ((2x+4)/3) taking the value of x = 5

Metadata

Property Detail
Author Amit Dutta (amitdutta4255@gmail.com)
License MIT

Actions

Raw View on GitHub

💡 You can print or save this file by opening Raw and using your browser.

Source Code

#include<stdio.h>
int main() {
    double x =5, result;
    result = ((x + 3) / 4) - ((2 * x + 4) / 3);
    printf("Result = %lf",result);
    return 0;
}