Recent content by itsmenikko

  1. I

    Codes to find out Perfect numbers

    That's my problem sir . the codes that i wrote for this program is wrong. i need someone to tell me what's wrong with my codes. :(
  2. I

    Codes to find out Perfect numbers

    The program will ask the user if how many numbers will he/she wants to input. the opening line of the program is "Enter how many times". The user will then input how many numbers he/she will input. after that for example if he/she input's 10, the scanf will loop 10 times and the user must input...
  3. I

    Codes to find out Perfect numbers

    The purpose of why I am using arrays sir for that all the inputs inside of the loop will be red and that's the only way i know all inputs can be red inside the loop. sorry sir I am just a beginner in programming. And it's my first time in this forums. sorry.
  4. I

    Codes to find out Perfect numbers

    #include <stdio.h> #include <conio.h> main() { int limit; int arrayname[ 90 ]; int i; int sum=0; int b; printf("Enter how many times: "); scanf("%d", &limit); for(i = 1 ; i <= limit ; i++) { scanf("%d", &arrayname[i]); } printf("\n"); for(i=1;i<arrayname[i];i++) {...
Back
Top