This
assignment is going to be done in class. I want you to draw the logic flowchart
and write the pseudocode for these problems.
- If the category is A and the department is 12 and the
budget is greater than 500000, you need to add 1 to the variable CT.
- If category is A you want to add 1 to CTA, if
category is B you want to add 1 to CTB else you want to add 1 to CTOTHER.
- If category is A and either num_comm is greater than
the reorder point or on_hand = 0, you want to move the word ORDER to MSG.
- If the person on the record EITHER makes over 40000
OR owns hteir own home AND it is worth over 12000, move ELIGIBLE to MSG
otherwise move NOT ELIGIBLE to MSG.
- If the department is 12 AND num_comm is greater than
reord_pt AND either cost is greater than 25 OR price is greater than 35,
add 1 to DEPT12A_CT. If the department is 12 and the num_comm is not
greater than the reord_pt AND on_order is greater than 20, add 1 to
DEPT12B_CT. In all other cases add
to NOT_CT.