Kyrexar

Loading

Mar 26th, 2012
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(){
  4.    
  5.     int a,i;
  6.    
  7.     for ( a=1 ; a<100 ; a++){
  8.         printf(" \n  Cargando: %d %%",a);
  9.         system("cls");
  10.     }
  11.        
  12.     for ( i=1 ; i<20 ; i++){
  13.         printf(" \n  Cargando: %d %%",a);
  14.         system("cls");
  15.         printf(" \n  Cargando: ");
  16.         system("cls");
  17.     }        
  18.        
  19.     printf(" \n  Cargando: 100 %% \n\n  ");
  20.     system("PAUSE");    
  21.     return 0;
  22.        
  23. }
Advertisement
Add Comment
Please, Sign In to add comment