Search:

Type: Posts; User: Nastia Kozak

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    5,865

    Need help-decompression string

    hi,
    Im trying to write a function that decompresses a string and returns the original string.
    for example:
    p3B2c4 will be pppBBcccc
    this is what I have tried to do, the function returns nothing....
  2. Replies
    1
    Views
    5,478

    help with writing functions

    hi,
    I need to write a function that prints "n" lines from a file (if n is bigger than the number of lines in the file than it just prints the whole file). I tried to write it but it doesn't work

    ...
  3. Replies
    8
    Views
    619

    yes I know, I can get the right digit of the...

    yes I know, I can get the right digit of the number using the modulu, but I don't know how to continue.
    I haven't actually written anything yet because I don't have any idea .
  4. Replies
    8
    Views
    619

    I started with that but i don't know how to...

    I started with that but i don't know how to continue..:confused:
  5. Replies
    8
    Views
    619

    help with writing a function

    hello,
    I need to write a function which shifts the right digit of a number to the left.
    for example:988 will be 898.
    I can use loops, pow function and if/else.

    if someone can help me i will be...
Results 1 to 5 of 5