You are viewing a single comment's thread. Return to all comments →
Java
public static boolean isSmartNumber(int num) { int val = (int) Math.sqrt(num); if(num / val == val) return true; return false; }
Seems like cookies are disabled on this browser, please enable them to open this website
Smart Number
You are viewing a single comment's thread. Return to all comments →
Java