Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. void checkInput(int a) {
  2. if (a is negative) {
  3. cout << "Your number can't be negative" << endl;
  4. // exit program
  5. }
  6. else {
  7. // move on to calculate square root function
  8. }
  9.  
  10. return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement