Program to print all the ascii values

dhwani's Avatar
Newbie Member
i need solution to this program
"Write a program to print all the ascii values and their equivalent characters using a while loop.the ascii values differ from 0 to 255.
0
ihatec's Avatar, Join Date: Sep 2010
Go4Expert Member
first what language?
make a loop from 0 to 255 cast each iteration to char and you are done.
Code:
int i=0;
while(i<255){
print(i) as a char;
i++;
}
this is just a pseudocode.