Advertisement
AndreyKlipikov

(Lehe) Prog 1

Dec 17th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include "iostream"
  2. #include "conio.h"
  3. #include "math.h"
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.     float x = 0, y = 0;
  9.     cout << "Vvedite X:" << endl;
  10.     cin >> x;
  11.     y = 1.7 * x * x * x - 6.3 * x + 2.7;
  12.     cout << "y = ";
  13.     cout << y;
  14.     _getch();
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement