Write a javascript program to accept a number using prompt box and display whether the entered number is a perfect or not (use onclick event)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.