Check if the computer is on, because of course you need to check if the device the code is running on is powered on, right?
Download header file
#include <stdio.h>
#include "computer_on.h"
int main() {
if (computer_on() == 1) {
printf("Computer is on!\n");
return 0;
}
}
???
Profit