using namespace std; #include #include #include #include int main(int argc, char * argv[]) { int proc; int x; cout << "Please enter a number of processes to spawn: "; cin >> proc; if((proc % 2) != 0) { cout << "Odd number entered. Please enter an even number. Exiting now." << endl; return(0); } for(int i=0; i