Enviado em 01/03/2016 - 19:48h
#include <stdio.h>
int main ()
{
int r;
printf ("*****************************************************************************\n");
printf ("****************************** bem vindo ao subzero *************************\n");
printf ("*****************************************************************************\n\n");
printf ("*****************************************************************************\n");
printf ("***** qual partição deseja que seja apagada e volte a ser não alocada? ******\n");
printf ("*****************************************************************************\n\n");
printf ("*****************************************************************************\n");
printf ("**************** (1) sdb ********* (2) sdc ************** (3) sdd ***********\n");
printf ("*****************************************************************************\n");
scanf ("%i", &r);
switch (r){
case 1:
remove ("//dev//sdb");
printf ("aguarde 30 segundos e confira seu pen drive ainda plugado\n");
break;
case 2:
remove ("//dev//sdc");
printf ("aguarde 30 segundos e confira seu pen drive ainda plugado\n");
break;
case 3:
remove ("//dev//sdd");
printf ("aguarde 30 segundos e confira seu pen drive ainda plugado\n");
break;
default:{
printf ("comando invalido!\n");
}
}
return 0;
}