Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int a;
- char* responseSS;
- printf("¿Desea iniciar el proceso de Benchmark? [Y/N]");
- scanf("%s", responseSS);
- if (strcmp(responseSS,"SI") == 0)
- {
- a = 0;
- while (a < 1000000)
- {
- a++;
- printf("%d \n", a);
- }
- system("clear");
- printf("El proceso ha terminado satisfactoriamente! \n");
- }
- else
- {
- printf("El proceso se ha cancelado \n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement