Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- int main()
- {
- using namespace std;
- float a,n,e,s,o = 0.0;
- cout << "Inserisci il valore del nord\n";
- cin >> n;
- cout << "Inserosci il valore del'est: ";
- cin >> e;
- cout << "Inserisci il valore del sud: ";
- cin >> s;
- cout << "inserisci il valore di ovest: ";
- cin >> o;
- n = s;
- e = o;
- //Ugule per le altre :)
- cout << "Il nord e' uguale a " << n << endl;
- cout << "L'est e' uguale a " << e << endl;
- cout << "Il sud e' uguale a " << s << endl;
- cout << "L'ovest e' uguale a " << o << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement