Question: Assembly / C Coding Assignment Program: #include int main(void) { int A,B,C; float X; printf(Enter A value: ); scanf(%d,&A); printf(Enter B value: ); scanf(%d,&B); printf(Enter

Assembly / C Coding Assignment

Program:

#include

int main(void) {

int A,B,C;

float X;

printf("Enter A value: ");

scanf("%d",&A);

printf("Enter B value: ");

scanf("%d",&B);

printf("Enter C value: ");

scanf("%d",&C);

X=(A+95)*((float)(B*16)/C)-A+20;

printf("%.2f ",X);

return 0;

}

Output:

Assembly / C Coding Assignment Program: #include int main(void) { int A,B,C;

float X; printf("Enter A value: "); scanf("%d",&A); printf("Enter B value: "); scanf("%d",&B);

gcc version 4.6.3 Enter A value: 12 Enter B value: 16 Enter C value: 36 768.89

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!