Computer Science, asked by agnichandra13, 7 months ago

given the values of three variables a,b,c write a program to compute the display the value of x, where

x=a/b-c
here a= 250,b=85 and c=25​

Answers

Answered by pradeepkumarsingh036
3

Answer:

-22.0582352941

Explanation:

250/85 = 2.9411764705882

2.9411764705882 - 25 = 22.0582352941

Answered by sarminsneha87
6

#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();

}

Similar questions