Advertisement
a53

Marte1

a53
Oct 20th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a,b,c,m,n,p;
  7. cin>>a>>b>>c>>n>>m>>p;
  8. cout<<a*n+b*m+c*p;
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement