Advertisement
Josif_tepe

Untitled

Apr 23rd, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void pecati(int x) {
  5.     cout << x + 1 << endl;
  6. }
  7. int main() {
  8.    
  9.     int n;
  10.     cin >> n;
  11.     pecati(n);
  12.    
  13.     return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement