Program to enter an integer and print out its successor. October 31, 2015 Get link Facebook X Pinterest Email Other Apps Program to enter an integer and print out its successor. #include <iostream> using namespace std; int main(){ int a, b, c; cout << "Enter Number" << endl; cin >> a; cout << "Successor Number is"<< ++a << endl; system("pause"); return 0; } Comments
Comments
Post a Comment