Saturday, 12 July 2014

program to shutdown windows7

#include <stdio.h>
#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 ;
}

Posted By : datagram // 7/12/2014 11:06:00 pm
Category:

0 comments:

Post a Comment

 

Blogger news

Blogroll

Powered by Blogger.