Search:

Type: Posts; User: shermaine

Search: Search took 0.00 seconds.

  1. Is there any example of writing linked lists

    How should i read this source list(92,34,23,50,51,49) and create a linked list?
  2. Replies
    3
    Views
    1,404

    Help with past yr exam paper

    Can anyone help me with this question?
    I got this question in one of the past yr exam paper....how should i write for this question?
    Write a short C program , mcopy to copy a list of marks from a...
  3. Replies
    3
    Views
    905

    array help:help

    The question is :Write a function bigger() that returns bigger vaule in a signed integer array. Array and size are passed as arugements.
    Write a main program that inputs Max values from the keyboard...
  4. Replies
    13
    Views
    1,399

    Hi, Here's what i amended.....but still it...

    Hi,

    Here's what i amended.....but still it doesn't work...
    Anyone out there can help give me more advise or correct for me so that this program works?
    Please help!

    int main(void)
    {
    ...
  5. Replies
    13
    Views
    1,399

    Hi all, I still need help as the program still...

    Hi all,

    I still need help as the program still got error and doesn't work.
    Please advise n help me so that this program can work. Thanks
  6. Replies
    13
    Views
    1,399

    Hi, Here's the amended one, but there is still...

    Hi,

    Here's the amended one, but there is still errors and no output at all.
    Can u advise me the correct programming for this that makes it works.
    Thanks.

    #include<stdio.h>
    #include<stdlib.h>...
  7. Replies
    13
    Views
    1,399

    Here's the q. Calculate and print the weighted...

    Here's the q.
    Calculate and print the weighted average of a list of N floating point numbers, using formula
    xavg = f1x1 + f2x2+....
    where f is the fractional weighthing factors.
    for example: f1...
  8. Replies
    13
    Views
    1,399

    Advise needeed

    Attached is the question to this program.
    Here's the program i tried:


    #include<stdio.h>
    float x[4] = {1.2,2.4,3.6,4.8};
    float f[4] = {0.1,0.2,0.3,0.4};
    float xave = 0.0;
    float ftotal = 0.0;...
  9. Replies
    5
    Views
    1,337

    well..i typed too fast..i guess it's b++ it's nt...

    well..i typed too fast..i guess it's b++
    it's nt a matter of if i hv skipped classes or books..i rele need help...if nt i wont post in the forum... seem like guys here are pretty unwilling to help...
  10. Replies
    5
    Views
    1,337

    Bit Count Help

    Hi,

    I have got this question: Write function of bitcount() that return the number of bits set to 1 in an unsigned integer.

    Here's my try:


    #include <stdio.h>
    int bitcount(unsigned x)...
  11. Thread: enquiry

    by shermaine
    Replies
    4
    Views
    1,419

    Should it be like this? int maximum (int x,...

    Should it be like this?


    int maximum (int x, inty)
    {
    int z;
    z=(x>=y)
    return(x);
    }
    main()
  12. Thread: Enquiry

    by shermaine
    Replies
    9
    Views
    1,183

    Hi, I really at a loss of this part. I really...

    Hi,

    I really at a loss of this part. I really need help on how to start this off 1st...
  13. Thread: Enquiry

    by shermaine
    Replies
    9
    Views
    1,183

    Enquiry

    Hi,

    let say i have got this fractional weighting factors of f1=0.1 f2= 0.2 f3= 0.3
    I need a program to prompt the user to enter the 3 weights .The program should print erroe if the weights are...
  14. Thread: enquiry

    by shermaine
    Replies
    4
    Views
    1,419

    enquiry

    Hi,

    May i know how to write this program.
    Write a function bigger() that returns bigger vaule in a signed integer array. Array and size are passed as arugements.

    Write a main program that...
Results 1 to 14 of 14