Schknheit

Untitled

Feb 27th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.  
  5. int num, resto;
  6.  
  7. printf("Entre com numero inteiro\n");
  8. scanf("%d",&num);
  9. resto = num % 10;
  10. num = num / 10 ;
  11. printf("%d",num);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment