Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  123
Language: C/C++
Code:
#include <stdio.h>
#include <math.h>


int main()
{

float a,b,c,d;

float r;

printf("Vvedite a:");

scanf("%f", &a);

printf("Vvedite b:");

scanf("%f", &b);

printf("Vvedite c:");

scanf("%f", &c);

printf("Vvedite d:");
scanf("%f", &d);

r=((a*b)/(c*d))-((a*b-c)/(c*d));

printf("Result = %.3fn",r);

getch();
}
          
Comments: