35657

Untitled

Oct 19th, 2023
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 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 feed_count;
  10.  
  11.     cout << "Введите расход корма в день (грамм): " ;
  12.  
  13.     cin >> feed_count;
  14.  
  15.     cout << "На 30 дней необходимо : " << (feed_count * 30) / 1000 << " килограмм корма" << endl;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment