Input the number of pages and the number of pages in a packet.
The cost of the packet is 350, and the cost of a loose sheet is 2. Calculate the total costs
What I did was:
Dim NOP, NOPIAP as, V1, V2, total as integer
'NOP is no of pages, NOPIAP is no of pages in a packet, V1 is variable #1, V2 is variable #2, total is the total cost
Input NOPIAP, NOP
V1 = NOP * 2
V2 = NOPIAP * 350
total = V1 + V2
Print total
I'm not sure whether what I did was right... the questions a little confusing.