Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "bits/stdc++.h"
- using namespace std;
- int main () {
- ios::sync_with_stdio(false);
- cin.tie(nullptr);
- cout.tie(nullptr);
- int x = 0;
- do {
- if (x <= 3) {
- double v = 75 - 10 * x - 1.11 * x * x;
- double m = 75 * x - 5 * x * x - 0.370 * x * x * x;
- cout << "V : " << v << " M : " << m << '\n';
- }
- ++x;
- } while (x <= 4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement