modul2 problem9

triagle write console