Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. //Note: This is ONLY THE SECOND PART of the function.
  2.  
  3. int matchFound=0;
  4. int i=1;
  5.  
  6. while (i*i <= t) {
  7. if (i*i == t) matchFound=1;
  8. i++;
  9. }
  10.  
  11. return matchFound;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement