Write a program that will accept the names of 3 processes as
Write a program that will accept the names of 3 processes as command-line arguments. Each of these processes will run for as many seconds as: (PID%10)*2+3 and terminate. The parent process will reschedule each child 4 times before giving up. When all children have been rescheduled 4 times, the parent will terminate.
Solution
#include <iostream>
#include <string>
int main()
{
std::cout << \"Please enter an image filename to create a thumbnail for: \";
std::string filename;
std::cin >> filename;
// open image file
// create thumbnail
// output thumbnail
}
