Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.11 KB | None | 0 0
  1. cin >> areaOfSquare;
  2. if (areaOfSquare < 0)
  3. {
  4.     cout << "INVALID";
  5. } else {
  6.     cout << sqrt(areaOfSquare);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement