Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- short n1, n2;
- short k1, k2;
- cin>>n1>>k1>>n2>>k2;
- cout<<(n1*k1)+(n2*k2)<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement