Advertisement
Ridddle

Untitled

Nov 19th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. setlocale (LC_ALL,"rus");
  6. int a,b,c,sum
  7. cout <<"Введите a"<<endl;
  8. cin>>a
  9. cout <<"Введите b"<<endl;
  10. cin>>b
  11. cout <<"Введите c"<<endl;
  12. cin>>c
  13. sum=a+b+c;
  14. cout<<'\n'<<sum<<endl;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement