Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main()
- {
- int n;
- printf("Inserisci un numero:");
- scanf("%d",&n);
- printf("Numero inserito: %d , Numero precedente: %d, Numero successivo: %d", n,n-1,n+1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement