Accept a character and print the character.
#include <iostream> using namespace std; int main() { char ch; cin >> ch; cout << ch; return 0; }