Advertisement
newb_ie

Untitled

Oct 28th, 2021
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include "bits/stdc++.h"
  2. using namespace std;
  3.  
  4. int main () {
  5. ios::sync_with_stdio(false);
  6. cin.tie(nullptr);
  7. cout.tie(nullptr);
  8. int x = 0;
  9. do {
  10. if (x <= 3) {
  11. double v = 75 - 10 * x - 1.11 * x * x;
  12. double m = 75 * x - 5 * x * x - 0.370 * x * x * x;
  13. cout << "V : " << v << " M : " << m << '\n';
  14. }
  15. ++x;
  16. } while (x <= 4);
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement