In: Computer Science
Write a C++ main program that has the following:
9. Display all printable characters of the ASCII table in 3
columns: first column: 32-63, second column: 64-95, third column:
96-127. Each column must include the numeric value and the
corresponding character. Following is an example of one of 32 rows
in the ASCII table:
33 ! 65 A 97 a
#include<iostream>
using namespace std;
int main()
{
int i,j,k;
char ch1, ch2, ch3;
for(i = 32,j=64,k=96;i<=63;i++,j++,k++){
ch1 = (char)i;
ch2 = (char)j;
ch3 = (char)k;
cout<<i<<" "<<ch1<<" "<<j<<" "<<ch2<<" "<<k<<" "<<ch3<<endl;
}
return 0;
}


