开发者

perfect-numbers

0
  • Perfect numbers 1 to n

    Write an algorithmthat prints perfect numbers from 1 to n.To determine if a number is per开发者_Go百科fect add up all the factors of the number that are less than the number. If the sum is equal to th[详细]

    2023-02-12 03:59 分类:问答
  • Perfect Number In C

    I need to write a C program to find the Perfect Number.. main() { int n=1000,sum = 0; for(int num = 1; num <= n; num++)[详细]

    2023-02-02 03:23 分类:问答
  • deciding if a number is perfect or prime

    the problem is : \"Write a function to find out if a number is a prime or perfect number.\" so far i have worked on the perfect part first and this is what i have:[详细]

    2023-01-30 18:31 分类:问答
  • C++ Perfect Number. Need some help revising

    I need some help revising this. It keeps only displaying 0s as the temp. Thank you. // A program to determine whether the input number is a perfect number[详细]

    2022-12-23 04:24 分类:问答