fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float lado;
  6. cout << "digite o lado";
  7. cin >> lado;
  8. float area = lado * lado;
  9. cout << area;
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/89239/101
Success #stdin #stdout 0s 4564KB
stdin
3
stdout
digite o lado9