Hey i have been on many fourms and stuff asking people to help me slove me this problem but no one seems to know how to do it including my self,if anyone here knows how to change this into flowchart it would help a lot ty :)
INPUT VARITEM 1
INPUT cost of VARITEM 1
INPUT quantity of VARITEM 1
INPUT vat rate of VARITEM 1
INPUT VARITEM 2
INPUT cost of VARITEM 2
INPUT quantity of VARITEM 2
INPUT vat rate of VARITEM 2

Put cost of item 1 in VAR cost item 1
Put quantity of VARITEM 1 in VAR quantity 1
Multiply VAR cost 1 and VAR quantity 1
OUTPUT sub-total for VARITEM 1

Put cost of item 2 in VAR cost item 2
Put quantity of VARITEM 2 in VAR quantity 2
Multiply VAR cost 2 and VAR quantity 2
OUTPUT sub-total for VARITEM 2

Put VAT rate of item 1 in VAR VAT rate 1
Put sub-total of VARITEM 1 in VAR sub-total 1
Multiply VAR VAT rate 1 and VAR sub-total 1
Display result in VAR total 1
Add VAR sub-total 1 and VAR total 1
OUTPUT grand total for VARITEM 1

Put VAT rate of item 2 in VAR VAT rate 2
Put sub-total of VARITEM 2 in VAR sub-total 2
Multiply VAR VAT rate 2 and VAR sub-total 2
Display result in VAR total 2
Add VAR sub-total 2 and VAR total 2
OUTPUT grand total for VARITEM 2

check the msword file to attached to this msgs ...

i hope it will help to know the flowchart

flowchart is the graphical form of pseudocode....

study the use of drawing in the flowhcart like for example, what shapes u will use to variable declaration, input and output so far and so on...

enjoy..

Hey i have been on many fourms and stuff asking people to help me slove me this problem but no one seems to know how to do it including my self,if anyone here knows how to change this into flowchart it would help a lot ty :)
INPUT VARITEM 1
INPUT cost of VARITEM 1
INPUT quantity of VARITEM 1
INPUT vat rate of VARITEM 1
INPUT VARITEM 2
INPUT cost of VARITEM 2
INPUT quantity of VARITEM 2
INPUT vat rate of VARITEM 2

Put cost of item 1 in VAR cost item 1
Put quantity of VARITEM 1 in VAR quantity 1
Multiply VAR cost 1 and VAR quantity 1
OUTPUT sub-total for VARITEM 1

Put cost of item 2 in VAR cost item 2
Put quantity of VARITEM 2 in VAR quantity 2
Multiply VAR cost 2 and VAR quantity 2
OUTPUT sub-total for VARITEM 2

Put VAT rate of item 1 in VAR VAT rate 1
Put sub-total of VARITEM 1 in VAR sub-total 1
Multiply VAR VAT rate 1 and VAR sub-total 1
Display result in VAR total 1
Add VAR sub-total 1 and VAR total 1
OUTPUT grand total for VARITEM 1

Put VAT rate of item 2 in VAR VAT rate 2
Put sub-total of VARITEM 2 in VAR sub-total 2
Multiply VAR VAT rate 2 and VAR sub-total 2
Display result in VAR total 2
Add VAR sub-total 2 and VAR total 2
OUTPUT grand total for VARITEM 2

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.