Find the Character of an ASCII Code

less than 1 minute read

The code has been modified slightly and now uploaded to the site.

Question

<— Return Home

48.cpp

#include <iostream>
using namespace std;

int main(){
    int input;

    std::cout << "Enter an ASCII Code: \n";
    std::cin >> input;

    char ascii = input;

    std::cout << "The character is " << ascii << "\n";
}

<— Return Home