#include #include using std::cout; // program uses cout using std::endl; // program uses endl int min(int, int); int min(int, int, int); int main(int argc, char* argv[]){ int n = atoi(argv[1]); int a = atoi(argv[2]); int b = atoi(argv[3]); int c = 99999999; if(n == 3) c = atoi(argv[4]); // Converting string type to integer type // using function "atoi( argument)" if(n == 2) cout<<"Min("<y ? y: x); } int min(int x, int y, int z){ int m = min(x,y); return (z>m ? m: z); }