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
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com