Loop Programming Questions

Enter a number:
Perfect or Not?: