Search This Blog

Sunday, 26 February 2012

Activity 4.1

 step 1

You need to know the cost of sending a parcel to someone. The price of sending the item depend upon its weight. The postal service has set a standard charge per kilo of item weight. if the postal charge is greater than 100.00, a 10% discount is applied to the amount.

step 2

Weight
CostPerKilo

step 3

CostOfParcel

step 4

start
get Weight
get CostPerKilo
get CostOfParcrel
calculate Weight * CostPerKilo
if CostOfParcel > 100 then
           'CostOfParcel * 0.9
end if
Dislplay CostOfParcel
end

No comments:

Post a Comment