Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //http://www.dreamincode.net/forums/topic/206682-a-program-to-solve-this-i-tried-this-code/
- #include <iostream>
- using namespace std;
- int main()
- {
- char inputch;
- cin >> inputch;
- cout << "Input : " << inputch << endl;
- inputch=inputch+1;
- cout << "Input+1 : " << inputch << endl;
- inputch++;
- cout << "Input+2 : " << inputch << endl;
- cin.ignore();
- cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement