Question
This is my program im stuck on how to get the answer for D and F to not keep getting the error message( this is
This is my program im stuck on how to get the answer for D and F to not keep getting the error message( this is c language)
#include
int main() { float A = 0; float B = 0; float C = 0; float D = 0; float E = 0; float F = 0; float resultA , resultB , resultC , resultD , resultE , resultF;
resultA = 9.0 * 4.0 - 3.0 / 7.0 + 8.0 * 2.0; printf( "For A = 9 * 4 - 3 / 7 + 8 * 2 , A = %f " , resultA );
resultB = 9.0 * ( 4.0 - 3.0 ) / ( 7.0 + 8.0 ) * 2.0; printf( "For B = 9 * ( 4 - 3 ) / ( 7 + 8 ) * 2 , B = %f " , resultB );
resultC = ( (6.0 * 6 * 6) - 9 )/ 14; printf( "For C = 6^3 - 9 / 14 , C = %f " , resultC );
resultD = ( C - 4 )( C - 4 )( C - 4 )/ ( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5); printf( "For D = ( C - 4 )( C - 4 )( C - 4 )/( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5)( 9 %2 + 5), D = %f ",resultD);
resultE = 6.0 / 2 ( 1 + 2 ); printf( "For E = 6 / 2 ( 1 + 2 ) , E = %f " , resultE);
resultF = a / b * c - d * e; printf( "For F = a / b * c - d * e , F = %f " , resultF);
return 0; }
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