theheap insert( )theheap insert( )theheap insert( )theheap insert( )theheap insert( )theheap insert( )theheap insert( )theheap insert( )theheap insert( )/insert items while(true/until [ctrl]-[cputtext("enter first letter of ")puttext("showinsertremovechange")int choice getchar()switch(choicecase ' '/show theheap displayheap()breakcase ' '/insert puttext("enter value to insert")value getint()success theheap insert(value)if!success puttext("can' insertheap is full'\ ')breakcase ' '/remove if!theheap isempty(theheap remove()else puttext("can' removeheap is empty'\ ')breakcase ' '/change puttext("enter index of item")value getint()puttext("enter new priority")value getint()success theheap change(valuevalue )if!success puttext("can' changeinvalid index'\ ')breakdefaultputtext("invalid entry\ ")/end switch /end while /end main(/