Answer:
#include <iostream>
using namespace std;
int main() {
for(int i=33;i<=126;i++)//Using loop to print ASCII characters.
{
cout<<i<<char(i<<" ";//statement to print integer and it's ASCII characters with values.
}
return 0;
}
Explanation:
Put a closing parenthesis i char(i after doing that code will run .Since the answer was not getting posted hence i have to come to this resort.
I have used for loop for values 33 to 126 and for printing the ascii characters I have used typecasting converting the integer to corresponding char forcefully.