bsc

Comprehensive codebase and coursework for the 4-year B.Sc. Computer Science Honours degree (WBSU)

git clone https://github.com/notamitgamer/bsc.git
· rebuilt hourlyOpen on GitHub
root / semester_1 / tuition-c / P004.c

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 }