TP n°1 : application console