// THis program prints all ascii charecters visible from your computer keyboard.
//all ascii coes have values ranging from 32 to 128 hence looping through such numbers is necessary to print alll charecters.
//The for loop has been used for that purpose.
//Source code is as shown below
#include <iostream>
using namespace std;
int main(void)
{
for (int count = 32; count<128; count++)
cout<<count<<"\t\t"<<(char) count<<"\n";
return 0;
}
Comments
Leave a comment