document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //http://www.dreamincode.net/forums/topic/206682-a-program-to-solve-this-i-tried-this-code/
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     char inputch;
  9.    
  10.     cin >> inputch;
  11.     cout << "Input   : " << inputch << endl;
  12.     inputch=inputch+1;
  13.     cout << "Input+1 : " << inputch << endl;
  14.     inputch++;
  15.     cout << "Input+2 : " << inputch << endl;
  16.     cin.ignore();
  17.     cin.get();
  18.     return 0;
  19. }
');