daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest May 16th, 2018 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //somma ridotta compito
  2. #include <iostream>
  3. #include <cmath>
  4. using namespace std;
  5. struct rect
  6. {
  7.     double x;
  8.     double y;
  9. };
  10. struct polar {
  11.     double r;
  12.     double theta;
  13. };
  14. int main ()
  15. {
  16.     double a;
  17.     double b;
  18.     cout << "inserisci coordinata x ";
  19.     cin >> a;
  20.     cout << "inserisci coordinata y ";
  21.     cin >> b;
  22.     rect point = {a, b};
  23.     return 0;
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top