Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#include int main( int A,B,C; float X; / Take input from user printf( Enter A value:); scanf(%d,&A); printf( Enter B value: ); scanf(%d&B); printf( Enter
#include int main( int A,B,C; float X; / Take input from user printf( Enter A value:"); scanf("%d",&A); printf( Enter B value: "); scanf("%d"&B); printf( Enter C value:"); scanf("%d",&C); //compute value of X X-(A+95)* ((float)(B*16)/C)-A+20; //Print X upto 2 decimal places printf("%.2f ",X); return O; #include int main( int A,B,C; float X; / Take input from user printf( Enter A value:"); scanf("%d",&A); printf( Enter B value: "); scanf("%d"&B); printf( Enter C value:"); scanf("%d",&C); //compute value of X X-(A+95)* ((float)(B*16)/C)-A+20; //Print X upto 2 decimal places printf("%.2f ",X); return O
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started