Take the following

  

Take the following set of Pseudocode and make a flowchart as well as an output sample using the visual logic program:
Begin parcelCharges
 

Calculate delivery_charge
Prompt parcel for weight in kilograms (kg)
Get parcel_weight
If parcel_weight <2.5 THEN
delivery_charge = $3.50 * parcel_weight
else
If parcel_weight <= 5 THEN
delivery_charge = $2.58 * parcel_weight
else
delivery_charge = $2.45 * parcel_weight
ENDIF
ENDIF
Display “Delivery charge for parcel is”, delivery_charge
 

End

Tags: No tags