More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know.
Ans. public class BuggyBread {
public static void main(String args[]) {
int number = 7;
boolean perfectNumber = true;
for(int x=2;x<number;x++){
if(number % x == 0){
perfectNumber = false;
}
}