#include <stdlib.h>
main ()
{
char ch ;
printf ("Do you want to shutdown your computer now (y/n) \n ");
scanf ( "%c" ,&ch);
if ( ch =='y' || ch =='Y' )
system ( "C: \\ WINDOWS\
\ System32 \\ shutdown /s" ) ;
return 0 ;
}
Imran Uddin is the founder of AllTechBuzz .He is a Tech Geek, SEO Expert, Web Designer and a Pro Blogger. Contact Him Here
The content is strictly copyrighted to the Admin and may not be reproduced without permission.
© 2014 Designed by Imran
0 comments:
Post a Comment