Search:

Type: Posts; User: Wah

Search: Search took 0.01 seconds.

  1. Thread: Re : Recursive

    by Wah
    Replies
    5
    Views
    1,327

    Re : Recursive

    Dear All,

    I have problem regarding the following, can anyone help, please...

    /* function aim : should ask for the number of summation terms and print out the result.

    e.g if the input is...
  2. Replies
    0
    Views
    1,403

    Re : convert character into special code

    Dear All,

    How can I write a program to perform this??

    I pre-define the alpha-numerical character as :

    char word[][2][40] = {
    "A", "-",
    "B", ".",
    ...
  3. Thread: Re : Logic problem

    by Wah
    Replies
    5
    Views
    1,147

    Re : Logic problem

    Dear All,

    I don't understand why the following function is wrong, can anyone tell me :

    void check(int a) {
    if (a / 2 == 1)
    printf("a is...
  4. Replies
    4
    Views
    957

    Re: Recursive function

    Dear All,

    The following segment is a recursive function returns the sume of an integer array given its length.

    int sumArray(int anArray[], int length) {
    if (length == 0)
    retyrb...
  5. Replies
    1
    Views
    1,086

    Re : Programe for transalation

    Dear All,

    The following program is to translate a word from English to German. However, it can only translate one word each time, how can I modify the program to translate the whole sentence. ...
Results 1 to 5 of 6