Adilol

so far

Nov 2nd, 2011
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. //so far
  2. #include <math.h>
  3. #include <cmath>
  4. #if defined(_WIN32) || defined(WIN32) || defined(_CYGWIN_) || defined(_MINGW_) || defined (_BORLANDC_)
  5. #include <iostream>
  6. #define IS_WIN
  7. #else
  8. #include <stdio.h>
  9. #endif
  10.  
  11. using namespace std;
  12. int main()
  13. {
  14.      double y_one, y_two, x_one, x_two, x, y, c, m;
  15.      cout << "y=mx+c\n";
  16.      cout << "enter y1 + y2\n";
  17.      cout << "y1:\n";
  18.      cin>>y_one;
  19.      cout << "y2:\n";
  20.      cin>>y_two;
  21.      
  22.  
Advertisement
Add Comment
Please, Sign In to add comment