Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. void main(){
  3. int numeropos=0;
  4. printf("Escribe un numero positivo: ");
  5. scanf("%d", &numeropos);
  6. do{
  7. printf("%d, ", numeropos);
  8. numeropos--;
  9. }while(numeropos>=0);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement