Advertisement
xerpi

adsfsfsfsdf

Apr 8th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int a;
  6.     char* responseSS;
  7.     printf("¿Desea iniciar el proceso de Benchmark? [Y/N]");
  8.     scanf("%s", responseSS);
  9.     if (strcmp(responseSS,"SI") == 0)
  10.     {
  11.         a = 0;
  12.         while (a < 1000000)
  13.         {
  14.             a++;
  15.             printf("%d \n", a);
  16.         }
  17.         system("clear");
  18.         printf("El proceso ha terminado satisfactoriamente! \n");
  19.     }
  20.     else
  21.     {
  22.         printf("El proceso se ha cancelado \n");
  23.     }
  24.     return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement