In pseudocod ,va rog:DDDDDDDDDDD

start
natural a, b, c
citeste a, b, c
daca a < 5 SAU b < 5 SAU c < 5
atunci
scrie Nu este promovat
sfarsit_daca
altfel
daca (a + b + c) DIV 3 >= 6
atunci
scrie A promovat cu media, (a + b + c) DIV 3
sfarsit_daca
sfarsit_altfel
stop