Search:

Type: Posts; User: alperen1994

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,218

    There wasn't like that

    There wasn't like that
  2. Replies
    11
    Views
    1,218

    The Question was : There are 100 balls which...

    The Question was :
    There are 100 balls which are same and 5 boxes
    in the that there will be at least 6 balls in each box.
    how many ways there can be??
    a)C(100,5)
    b)C(70,5)
    c)C(70,5)-5!...
  3. Replies
    11
    Views
    1,218

    for example C(100,5)=????

    for example C(100,5)=????
  4. Replies
    11
    Views
    1,218

    can explain more????

    can explain more????
  5. Replies
    11
    Views
    1,218

    there was no function like that

    there was no function like that
  6. Replies
    11
    Views
    1,218

    what's this???????

    C(m + n, 2)==>i saw this on a test what does it mean????
  7. Replies
    2
    Views
    827

    Problem(again)

    i wrote this program,there are some problems


    #include <stdio.h>


    long int pow(int a,int b){
    int x=0,y=1;
    while(x<b){
    y*=a;
  8. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    thank u alot u saved alot of trouble

    thank u alot u saved alot of trouble
  9. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    int fakt(int a){ int x,y=1;...

    int fakt(int a){
    int x,y=1;
    for(x=1;x<=a;x++){

    y*=x;
    }
    return y;
    }

    int main(){
  10. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    tried it 2

    tried it 2
  11. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    i tested the fakt function

    i tested the fakt function
  12. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    tried it , it doesn"t solve it

    tried it , it doesn"t solve it
  13. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    of course

    of course
  14. Thread: problem

    by alperen1994
    Replies
    13
    Views
    1,267

    problem

    I have this piece of code


    int main(){
    int x;
    printf("number:");
    scanf( "%d" , &x);
    printf("x!== %d",x,fakt(x));
    getchar();
    return 0;
  15. Replies
    5
    Views
    1,308

    Stack overflow

    When i problem-solve i get this sign"Stack ovelflow" how can getover this???
  16. Thread: Prime

    by alperen1994
    Replies
    6
    Views
    1,271

    Prime

    Computing teacher gave me homework to make a program which checks if a number is prime i wrote this:


    int asal(int a,int b){
    if(b=1){return 2;}
    else if(a%b!=0){return asal(a,b-1);}
    else...
  17. Replies
    3
    Views
    1,466

    check for y condition

    let say i have two loops and i want to check if the varibles from one loop can evenly divided like this


    for (y=1;y<5;y++){
    for (x=0;x<1000;x++){
    if (x%y==0){ printf("this one:...
  18. Replies
    6
    Views
    2,003

    so how can i do it???? (i am asking because i...

    so how can i do it????
    (i am asking because i want learn new ways to make it)
    (i am in the computer olimpics this year,wish me luck)
  19. Replies
    6
    Views
    2,003

    Prime factor

    i am trying to make program that checks if the number is a prime or not:


    int asal(int a,int b){
    int x;
    for(x=2;x<a;x++){
    if(a%x!=0){return a;}
    else {return b;}}}

    but when i do this...
  20. Replies
    2
    Views
    1,981

    prime numbering

    i am trying to make a program that checks if the number is a prime number:


    #include <stdio.h>

    int prime( int a )

    int main(){
    int b;
    printf("type in the number:")
  21. Replies
    0
    Views
    967

    have problem

    i have been writing program that will find the smallest number which divide with all numbers between 0 and 10 i tshould be 2520 but it makes mistakes here is the code


    #include <stdio.h>

    int...
  22. Replies
    9
    Views
    2,004

    i want the all numbers between 0-50000 that can...

    i want the all numbers between 0-50000 that can divided with all numbers between 0-11
  23. Replies
    9
    Views
    2,004

    check every condition

    i made one loop which has another loop inside it like this:


    for(y=1;y<11;y+=1){
    for(x=0;x<5000;x+=1){
    if (x % y==0){
    printf("%d \n",x);}}}

    when i run it tries the if condition...
  24. Replies
    1
    Views
    969

    I have a problem

    i use Visual c++ 2008 and when write this

    #include <stdio.h>

    int main(){
    int x;

    for ( x=0;x<10;x++ ){
    printf("%d \n",&x);}
    getchar();}
  25. Replies
    3
    Views
    1,041

    summing all values up

    how can i sum all values that i got from a loop????
Results 1 to 25 of 29
Page 1 of 2 1 2