#include <stdio.h>
#include <unistd.h>
int main(){
//P0 is the main
pid_t P1, P2;
P1 = fork();
P2 = fork();
if(P1 == 0){ //P1 == 0 <==> P1 is created and we are inside it
pid_t P3 = fork();
}
if(P2 == 0){ //P2 == 0 means that we are inside P2 so we re creating P4 P5 P6 inside P2
pid_t P4, P5, P6;
P4 = fork();
P5 = fork();
P5 = fork();
}
//add else statements to avoid multi print statements
return 0;
}