Search:

Type: Posts; User: jack0

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,331

    so do i need to rewrite the whole program ?

    so do i need to rewrite the whole program ?
  2. Replies
    9
    Views
    1,331

    Need sum help with my simple programmes please

    The Qs are below, and as u can c ive started both Qs but dunno how to finish them ..any help would appreciated thanks

    1) C programme for iinverse of cos-rule
    where cosA = (b^2+c^2-a^2)/2bc
  3. Replies
    4
    Views
    912

    basically it says "error to few arguments to...

    basically it says "error to few arguments to function 'void filter5pt(.....)"
    this error is around line 9
  4. Replies
    4
    Views
    912

    errors in progamme

    basically this is a moving average programme and im not sure what the errors are, expecially for the first part


    #include <time.h>
    #include <math.h>
    #define DATASIZE 50


    void Filter5pt(...
  5. no basically it only sums up the values inside...

    no basically it only sums up the values inside the loop but not the first value entered before the loop was made..
  6. #include #include #include...

    #include <stdio.h>
    #include <time.h>
    #include <math.h>

    int main()
    {
    float n;
    float sum=0.0;

    printf(" enter a value\n");
  7. 2) #include int main() { ...

    2)

    #include <stdio.h>

    int main()
    {
    float n;

    printf(" enter a value\n");
    scanf("%f\n", &n);
  8. 1) ohh ok i understand now .. because...

    1) ohh ok i understand now .. because value(n)=remainder of n/m .. data[n]= would go from 0 to 5 then start again .. thanks alot i get this one now ..
    2) for this one am i supposed to use an if...
  9. data[0]=value[0] data[1]=value[1]...

    data[0]=value[0]
    data[1]=value[1]
    data[2]=value[2]
    ....
    data[9]=value[9]
    data[10]=0
  10. lol it means right out its output, from wot i...

    lol
    it means right out its output, from wot i gather its something like ;
    data[10]=0 but like repeated bcoz its a loop ?
  11. Hi needs some help with short C programming Questions?

    Hi, i sort of know the answer to these questions but im not sure exactly .. any help wud be appreciated ..
    1)Reproduce layout of following programe

    #include <stdio.h>
    #define NMAX 10
    int main()...
Results 1 to 11 of 11