Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cerchioo.h>
- using namespace std;
- int main()
- {
- float c=0;
- cerchioo C;
- C.setRaggio(3);
- cout<<"inserisci il valore del raggio" << endl;
- cin>>c;
- cerchioo C2(c);
- C2.setRaggio(c);
- C2.calcolaArea();
- cout<< "l'area e': "<< endl;
- cout << C2.getArea();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment