Search:

Type: Posts; User: abhishekcoder

Search: Search took 0.01 seconds.

  1. Thank you for your detailed reply. I am sorry...

    Thank you for your detailed reply.

    I am sorry for that obvious error, I meant if a user enters an ASCII decimal input he gets an ASCII character output.





    12 1 2 3 4 5 6 7 8 9 8 7 6
  2. The question is: Write a program to convert a...

    The question is:

    Write a program to convert a decimal representation for a number to the corresponding character string representation.

    I am using scanf %d representation to input decimal...
  3. @Salem: Now my code works, but is producing the...

    @Salem: Now my code works, but is producing the wrong output.
    For example if I enter the input sequence length as 4 and input 1,9,.,8 one by one, my code gives me output as 1999 whereas It should...
  4. Thank you for your reply. The program still stops...

    Thank you for your reply. The program still stops at the same point on changing nchar to ndec.
  5. Conversion problem not working properly

    Hi All,

    I have written a program to input a decimal string and convert it to character string. Below is my program:



    /*this program converts the decimal representation of an input string to...
Results 1 to 5 of 5