Search:

Type: Posts; User: pimp

Search: Search took 0.01 seconds.

  1. Replies
    50
    Views
    11,822

    i'm done with the summation code.. anyway if...

    i'm done with the summation code.. anyway if possible can u copy my code and give explain it using the comment line on the program itself.. i wil be able to understand better(=


    ...
  2. Replies
    50
    Views
    11,822

    #include #include...

    #include<conio.h>
    #include<stdlib.h>
    #include<stdio.h>


    int main()
    {
    int arrayofprimes[100];// create space for array
    int top,remainder,numberofprimes,prime,i;
    int...
  3. Replies
    50
    Views
    11,822

    the print out is the same .. however it still...

    the print out is the same .. however it still print out the remainder which i don want
  4. Replies
    50
    Views
    11,822

    #include #include...

    #include<conio.h>
    #include<stdlib.h>
    #include<stdio.h>


    int main()
    {
    int arrayofprimes[100];// create space for array
    int top,remainder,numberofprimes,prime,i;
    int...
  5. Replies
    50
    Views
    11,822

    can't work they print out the same output

    can't work they print out the same output
  6. Replies
    50
    Views
    11,822

    i'm back. i try the code and it is able to give...

    i'm back. i try the code and it is able to give me prime number..however it was at the opp side

    array[07] is 1
    array[05] is 2
    array[03] is 3
    array[02] is 4
    array[01] is 5 // this is the...
  7. Replies
    50
    Views
    11,822

    can't i use %02d to output a double digit out ?...

    can't i use &#37;02d to output a double digit out ? just a question.. i go try the code out and update .
  8. Replies
    50
    Views
    11,822

    adak i show u the code that i was expected to do...

    adak i show u the code that i was expected to do so u will have a idea about my project.which i can actually ask u for more help(=

    summation of prime number
    ===================
    please enter top...
  9. Replies
    50
    Views
    11,822

    i manage to get prime number.. even though i...

    i manage to get prime number.. even though i change the 3 to 1 i still can't count number smaller than 4..
  10. Replies
    50
    Views
    11,822

    i show u the code that i have edit.it about the...

    i show u the code that i have edit.it about the same as yours..u try and run it..


    #include<conio.h>
    #include<stdlib.h>
    #include<stdio.h>


    int main()
    {
  11. Replies
    50
    Views
    11,822

    there is a part that i don't understand can...

    there is a part that i don't understand can explain more?

    }while(--top > 3);

    //print up the arrray of primes
    for(i = 0; i < numberOfPrimes; i++)
    print array of primes[i];...
  12. Replies
    50
    Views
    11,822

    i don understand. can u type the code out...

    i don understand. can u type the code out ?basically i'm stuck at converting into C from my logic
  13. Replies
    50
    Views
    11,822

    i saw some aid in there.. but i have a question....

    i saw some aid in there.. but i have a question. how do i stop processing if the remainder is =0.
    i have the planning there but i some how can't get it into the program
  14. Replies
    50
    Views
    11,822

    ya. i know that part*

    ya. i know that part*
  15. Replies
    50
    Views
    11,822

    ya know the part that if the rem is not 0 it...

    ya know the part that if the rem is not 0 it will not be a prime but i can't get that part and save it into a array.. that the part i'm stuck and lost
  16. Replies
    50
    Views
    11,822

    #include #include...

    #include<conio.h>
    #include<stdlib.h>
    #include<stdio.h>


    int main()
    {
    int numarray[100];// create space for array
    int top,reminder,flag,value,prime;
    int...
  17. Replies
    50
    Views
    11,822

    i know the way to find prime number but i can't...

    i know the way to find prime number but i can't get it into C programming..
  18. Replies
    50
    Views
    11,822

    i still can't get it work! omg

    i still can't get it work! omg
  19. Replies
    50
    Views
    11,822

    manv and adak thk for the guide.. i will figure...

    manv and adak thk for the guide.. i will figure it out and post it back..
  20. Replies
    50
    Views
    11,822

    adak can u help me with the code? any...

    adak can u help me with the code?
    any suggestion?
  21. Replies
    50
    Views
    11,822

    how can i attach file? cause the program itself...

    how can i attach file?
    cause the program itself is not just print prime number but there are more.
    source 1

    #include<conio.h>
    #include<stdlib.h>
    #include<stdio.h>


    int main()
  22. Replies
    50
    Views
    11,822

    i understand what it's talking about.. however...

    i understand what it's talking about..
    however i can't get it into the programming code.
  23. Replies
    50
    Views
    11,822

    lol.. i'm a beginner..and i'm stuck for 4hrs! and...

    lol.. i'm a beginner..and i'm stuck for 4hrs! and i can't figure out what wrong !
  24. Replies
    50
    Views
    11,822

    i'm using Dev-C++ i looking at that link u give...

    i'm using Dev-C++
    i looking at that link u give but i can't get anything from it..
    anyway to help? like code for the program? i have to due the project in 2 days!
    pls help
  25. Replies
    50
    Views
    11,822

    how do i calculate prime number

    i'm a beginner using C.. i have a project on creating a souce that can detect prime number.
    for example
    if the user enter :10
    they will print out all the prime nummber within 10
    which mean it...
Results 1 to 25 of 25