Search:

Type: Posts; User: samsung

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,715

    1. sorry it happen when i pasted it i have it...

    1. sorry it happen when i pasted it i have it indented nice in a old Dos IDE
    2. yes but that fuction is only for printing to the screen even if i do start i=0 the outcome is : AB,AC ....
    3. I know...
  2. Replies
    2
    Views
    1,715

    backtracking problem

    i have to make a program that reads m,n from the keyboard.
    i have :
    char letters[]={'A','B','C','D','E','F','G','H','I','J','K'}
    the program is going to make commutations of those letters.
    if...
  3. Thread: pseudocode

    by samsung
    Replies
    8
    Views
    2,538

    thanks for all your help . how you think the...

    thanks for all your help .
    how you think the accurate program should look ?
  4. Thread: pseudocode

    by samsung
    Replies
    8
    Views
    2,538

    1 more thing Y is integer and X is float Y =...

    1 more thing Y is integer and X is float
    Y = Y*X is this allowed?
    i mean does it convert X to integer
    lets say if i enter the X 3,14 ?
    what happends then with it?
  5. Thread: pseudocode

    by samsung
    Replies
    8
    Views
    2,538

    actually don't :). can you please explain? i...

    actually don't :).
    can you please explain?
    i enter a real number .
    i enter a natural number.
    it does a loop . the N number specify the number of times the loop is run?
    if N <0 it doesn't execute...
  6. Thread: pseudocode

    by samsung
    Replies
    8
    Views
    2,538

    Let's say you enter tge real number X=3 and the...

    Let's say you enter tge real number X=3 and the natural nr N=10.
    59049 is the result does it look ok ?
    i don't think so :)
  7. Thread: pseudocode

    by samsung
    Replies
    8
    Views
    2,538

    pseudocode

    i have to write a program after the pseudocode that i already have :


    READ X
    READ N
    Y <-- 1
    Counter <-- N
    WHILE Counter > 0
    Y <-- Y*X
    Counter <-- Counter-1
  8. Replies
    8
    Views
    1,493

    that is the compiler we use . at home i use...

    that is the compiler we use .
    at home i use DEV-C++ . i make the code in DEV i compile it run it it's all ok.
    but when i load it in borland it start giving me errors .
    so that is why i must use...
  9. Replies
    8
    Views
    1,493

    yes but i am using the older version of borland...

    yes but i am using the older version of borland 3.1 for DOS if i am not mistaking .
    and it gives compile error's if i don't use it like this.



    any advices , don't need code just tell me what i...
  10. Replies
    8
    Views
    1,493

    thanks for your reply it worked like charm :)

    thanks for your reply it worked like charm :)
  11. Replies
    8
    Views
    1,493

    removing a part from a number

    have to write code that lets the user enter a 5 digit's number.
    after that it must remove the 3th digit from the number and printf the rest of the number
    this is what i written but it's not good ,...
Results 1 to 11 of 11