Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5. int n;
  6. printf("Inserisci un numero:");
  7. scanf("%d",&n);
  8. printf("Numero inserito: %d , Numero precedente: %d, Numero successivo: %d", n,n-1,n+1);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement