35657

Untitled

Oct 19th, 2023
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1.  
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     setlocale(LC_ALL, "ru");
  8.  
  9.     double capacity;
  10.  
  11.     cout << "Введите емкость аккумулятора: " ;
  12.  
  13.     cin >> capacity;
  14.  
  15.     cout << "Минимальная емкость зарядного устройства: " << capacity * 3 << " мАч" << endl;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment