wojiaocbj

Problem.A

Jun 9th, 2022
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include <stdio.h>
  2. int main(){
  3.     double a, b, c;
  4.     scanf("%lf%lf%lf", &a, &b, &c);
  5.     printf("%.2f\n", (c - b) / a);
  6.     return 0;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment