Guest User

Untitled

a guest
Oct 15th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6. double a;
  7. double b;
  8. double x;
  9. scanf("%lf",&a);
  10. scanf("%lf",&b);
  11. scanf("%lf",&x);
  12. double result = a*x+b;
  13. printf("%lf",result);
  14. return 0;
  15. }
RAW Paste Data