Skip to main content
Search
Search This Blog
Adsense
CFETCH
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
C Programs
July 09, 2013
Three variables a,b,c are given write a c program to compute and display the value of x,where x=a/(b-c).
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
float x;
clrscr();
printf("Enter value of a,b,c:");
scanf("%d %d %d",&a ,&b ,&c);
x=a/(b-c);
printf("Value of x:%f",x);
getch();
}
Comments
Anonymous
27 July 2022 at 19:26
X=a×b-c;
Y=b/c×a;
Z=a-b/c+d
Reply
Delete
Replies
Reply
Add comment
Load more...
Post a Comment
Popular Posts
January 17, 2014
C program to draw ellipse using Midpoint Ellipse Algorithm.
X=a×b-c;
ReplyDeleteY=b/c×a;
Z=a-b/c+d