fyi,i have googled well, couldn't find clear way.
i have drawn flowchart in ms visio. how generate pseudocode it?
is there way in visio or other software that?
pseudocode:
start
declare wholesaleprice integer
declare retailprice integer
declare profit integer
string end_line = “”
call housekeeping()
call detail()
call endofjob() stop
housekeeping()
output “enter wholesale price” input wholesaleprice
return
detail()
output “enter retail price” input retailprice profit = retailprice - wholesaleprice output profit
return
endofjob() output “thanks using program”
Comments
Post a Comment