Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1.  
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6. int a;
  7. int b;
  8. int x;
  9. scanf("%d",&a);
  10. scanf("%d",&b);
  11. scanf("%d",&x);
  12. int result = a*x+b;
  13. printf("%d",result);
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement