Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //somma ridotta compito
- #include <iostream>
- #include <cmath>
- using namespace std;
- struct rect
- {
- double x;
- double y;
- };
- struct polar {
- double r;
- double theta;
- };
- int main ()
- {
- double a;
- double b;
- cout << "inserisci coordinata x ";
- cin >> a;
- cout << "inserisci coordinata y ";
- cin >> b;
- rect point = {a, b};
- return 0;
- }
Add Comment
Please, Sign In to add comment