Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int ;a, b;
  9. cin » a » b;
  10. int c=a+1
  11. ;int d=b-1
  12. ;cout « "The next number for the number" << a << "is" << c >>« endl;
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement