Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Mathematics ProgramRSS Feeds

Program of an EVALUATION OF AN EXPRESSIONS

Posted By: Herberta Miller     Category: C Programming     Views: 4375

Write a program of an EVALUATION OF AN EXPRESSIONS.

Code for Program of an EVALUATION OF AN EXPRESSIONS in C Programming

#include<stdio.h>
#include<conio.h>

void main()
{
clrscr();
   float a,b,c,x,y,z;
   a=9;
   b=12;
   c=3;
   x= a-b/3+c*2-1;
   y= a-b/(3+c)*(2-1);
   z=a-(b/(3+c)*2)-1;

   printf("x = %f\n",x);
   printf("y = %f\n",y);
   printf("z = %f\n",z);
getch();
}
  
Share: 


Didn't find what you were looking for? Find more on Program of an EVALUATION OF AN EXPRESSIONS Or get search suggestion and latest updates.

Herberta Miller
Herberta Miller author of Program of an EVALUATION OF AN EXPRESSIONS is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!