Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. char n;
  4. double a, b, c, d;
  5. //setlocale(LC_ALL, "Rus");
  6.  
  7. int main() {
  8. setlocale(LC_ALL, "Rus");
  9. //using namespace std;
  10. std::cout << "Введите имя покупателя: ";
  11. std::cin >> n;
  12. std::cout << "Введите сумму покупки: ";
  13. std::cin >> a;
  14. system("cls");
  15. system("pause");
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement