Search:

Type: Posts; User: nicoleha

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    3,693

    Sorry

    Quzah,
    Sorry but thanks for correcting me.
    Ive found some eeror in my program while compiling it. I hence have rewrite this part of the program.
    When i run it, ive got this result...
    0: 1
    1:1...
  2. Replies
    16
    Views
    3,693

    Please help to check.

    I dont seem to compile it. Please help me to check and guide me through. Please. Help really needed.
    Question:

    Write a program to show the operation of the random number generator.
    The program...
  3. Replies
    20
    Views
    3,198

    THe whole of my program.

    #include <stdlib.h>
    #include <stdio.h>
    #include <DBOS\LIB.h>
    #include <CLIB.H>

    void count_nums(int *a, int range, int num);
    int my_rand(int);
    int get_max(int *a, int s);
    int get_min(int *a,...
  4. Replies
    20
    Views
    3,198

    Please help to check

    Question:
    Write a program to show the operation of the random number generator.
    The program will generate a specified number of random numbers in a given range.
    It will count the number of times...
  5. Replies
    20
    Views
    3,198

    Please help me!!

    #include <stdlib.h>
    #include <stdio.h>
    #include <DBOS\LIB.h>
    #include <CLIB.H>

    void count_nums(int *a, int range, int num);
    int my_rand(int);
    int get_max(int *a, int s);
    int get_min(int *a,...
  6. Replies
    20
    Views
    3,198

    #include #include #include...

    #include <stdlib.h>
    #include <stdio.h>
    #include <DBOS\LIB.h>
    #include <CLIB.H>

    void count_nums(int *a, int range, int num);
    int my_rand(int);
    int get_max(int *a, int s);
    int get_min(int *a,...
  7. Replies
    20
    Views
    3,198

    error 313- function date_time_seed has not been...

    error 313- function date_time_seed has not been declared( perhaps u should #include <DBOS\LIB.h>
    error 313_function getch() has not been declared(perhaps u should #include <CLIB.h>)
    Please help. Is...
  8. Replies
    20
    Views
    3,198

    Yes i did. What was wrog was that, they said 1)...

    Yes i did. What was wrog was that, they said
    1) cannot compile.......- array on line 45 which is something inside the function void count-nums,
    2) date_time_seed- i removed as u said, but warming...
  9. Replies
    20
    Views
    3,198

    Yea, I did fix those variables. However it still...

    Yea,
    I did fix those variables. However it still cannot compile. The first two print parts did what it should do. But not after that. It doesnt produce the expected output. =(
  10. Replies
    20
    Views
    3,198

    salem, thanks for ur help. I tried to recompile...

    salem,
    thanks for ur help. I tried to recompile the program. However, it still couldnt work. Can someone please help me out?

    Thanks.
  11. Replies
    20
    Views
    3,198

    Please help!!

    Please help me check my prgram. I dont seem to run it.

    Please view attachment.

    Many thanks.
  12. Replies
    20
    Views
    3,198

    #include #include I...

    #include <DBOS\LIB.h>
    #include <CLIB.H>

    I was told to use those. I am compiling using Salford plato.
  13. Replies
    20
    Views
    3,198

    Random numbers

    I couldnt run this program. Please help me out.
    Question:
    generate a random numbers in a given range
    count the occurrences of each number and return the total in arry 'a'

    find the maximum...
  14. Thread: c Programming

    by nicoleha
    Replies
    1
    Views
    1,208

    c Programming

    Hello,
    I was told to create a program which can read numbers from the keyboard, print how many times it occurs and get the most and least number of occurrence printed as well. I've used the getch(),...
Results 1 to 14 of 14