Comment

Noranieda Anuar
ASCII code,
February 10, 2010 at 8:34 PM

i need your help to solve my question on java.


2. The ASCII values for the digits 0–9 are 48–57, respectively. Write an algorithm and a Java program that, given a positive integer x, constructs a sequence of values in the range 48–57, representing the ASCII values of the digits of x . For example, if x = 104, the resulting sequence is 49 48 52, since the ASCII values for 1, 0, and 4 are 49, 48, and 52, respectively.
View All Comments
Related Tutorial and Articles

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.