Search:

Type: Posts; User: i6472

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    919

    condition in in array(for loope)

    I have a problem with condition with what should go into array.
    Array(Student),i,n was declared as int , and it works perfect with numbers, but if I enter any letter or some other sign (, . ; : " '...
  2. Replies
    2
    Views
    9,261

    How to repeat program in C

    Well, i have a problem. i'm interested that is it possible to repeat a program with command goto or some other order i C ?
    For example


    main()
    {



    .....some code...
  3. Replies
    9
    Views
    2,834

    i works like a charm id just added sum=0; after...

    i works like a charm id just added sum=0; after printf of the sum :) thank you Very much !!!
  4. Replies
    9
    Views
    2,834

    Here is the task and the problem in it,i dont...

    Here is the task and the problem in it,i dont know whats wrong


    //////////////////////////////////////////////
    //How to calculate Sum ///////////////////////
    //when you have x betwen...
  5. Replies
    9
    Views
    2,834

    Thank you VERY much, im so grateful for your...

    Thank you VERY much, im so grateful for your help. The reason for sumB is my mistake cause ive tried so many things to do the job,and forget to delete it. The program originaly is typed for region...
  6. Replies
    9
    Views
    2,834

    Well Claudia, I appreciated your answer, but...

    Well Claudia, I appreciated your answer, but after 12h and counting in font of the monitor, ill try to resolve this problem ,but i would be very gratefull too you, if you could tell me a little bit...
  7. Replies
    9
    Views
    2,834

    Ive tried for loop but it gives me incorect value...

    Ive tried for loop but it gives me incorect value



    for (i=1;i<=n;i++)
    {
    Sum=(1+x+pow(x,i));

    }
  8. Replies
    9
    Views
    2,834

    How to sum (1+x+x^1)+....(1+x+x^n) in C

    Could anywhone help me to write sum for S=(1+x+x^i)+(1+x+x^(i+1) ) + ... + (1+x+x^n) ? Exponent i i staking values from i=1 to i=n . User gives n.
    Thank You very much in advance :).
Results 1 to 8 of 8