Advertisement
campos20

Untitled

May 2nd, 2020
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. // Pós sucessor
  5. // Autor: Alexandre Campos
  6.  
  7. int main()
  8. {
  9.     // Declaracao
  10.     int numero;
  11.  
  12.     printf("Digite um numero:\n");
  13.     scanf("%d", &numero);
  14.  
  15.     // Exibicao em tela
  16.     printf("O sucessor e %d", ++numero);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement