DEFINITION OF DATA REQUIREMENTS
Produce an itemised consigment note for each customer including
-dimension,weight and price per parcel.
-total weight and price consigment
-number of parcels
RESIDENT DATA
-up to 2kg-£7.50
-up to 4kg-£8.00
-up to 10kg-£8.55
-up to 12kg-£9.10
-up to 14kg-£9.70
-up to 16kg-£10.35
-for each extra 2kg,up to 30kg,add £0.90
USER INTERFACE DESIGN
itemised consigment note produced for each year.This reports contains information required as discussed above in the data requirements section.the customer data destination is shown clearly at the top,followed by details of all parcels and lastly summary information is printed.
CONSIGNMENT:1
CUSTOMER:A
DESTINATION:THE AVENUE,OUTMARKET,BIRMINGHAM
INSTRUCTION:AFTER6 PM
PARCEL LENGTH BREADTH HEIGHT WEIGHT COST
1 0m 0m 0m 2kg £7.50
2 1m 1m 0m 15kg £12.15
public class consignment {
public static void main(String[] args) {
if
up to 2kg-£7.50;
else if
up to 4kg-£8.00;
else if
up to 10kg-£8.55;
else if
up to 12kg-£9.10;
else if
up to 14kg-£9.70;
else if
up to 16kg-£10.35;
else
each extra 2kg,up to 30kg,add £0.90;
}
}
its not working...please assist me because i dont know what to do next...thanks