ulvis.paste.net

Paste Search Dynamic
Recent pastes
number is
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4.         int a;
  5.         cin >> a;
  6.         cout << "The next number for the number " << a << " is " << a + 1 << "." <<     endl;
  7.     cout << "The previous number for the number " << a << " is " << a - 1 << ".";
  8.         return 0;
  9. }
Parsed in 0.006 seconds