Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int a;
- int b;
- int x;
- scanf("%d",&a);
- scanf("%d",&b);
- scanf("%d",&x);
- int result = a*x+b;
- printf("%d",result);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement