An automobile dealership uses CODE = 1 for new automobiles, CODE = 2 for used automobiles, and CODE = 3 for separate accessories. A salesman’s commissions are as follows: on new automobile, 3% of the selling price but a maximum of $300; on used automobile, 5% of the selling price but with a minimum of $75; on accessories, 6% of selling price.

1. Draw a flowchart that inputs CODE and PRICE and outputs COMMISSION.
2. Write a pseudocode programme that inputs CODE and PRICE and outputs COMMISSION.

1. Flowchart:

Here is a flowchart that represents the process of calculating the commission based on the given CODE and PRICE inputs:

```
start
└─ input CODE
└─ input PRICE

┌─ CODE = 1?
│ ├─ yes
│ │ │ COMMISSION = 3% of PRICE
│ │ └─ COMMISSION > $300?
│ │ ├─ yes
│ │ │ │ COMMISSION = $300
│ │ │ └─ output COMMISSION
│ │ └─ no
│ │ └─ output COMMISSION
│ └─ CODE = 2?
│ ├─ yes
│ │ │ COMMISSION = 5% of PRICE
│ │ └─ COMMISSION < $75?
│ │ ├─ yes
│ │ │ │ COMMISSION = $75
│ │ │ └─ output COMMISSION
│ │ └─ no
│ │ └─ output COMMISSION
│ └─ CODE = 3?
│ ├─ yes
│ │ │ COMMISSION = 6% of PRICE
│ │ └─ output COMMISSION
│ └─ no
│ └─ output "Invalid CODE"
end
```

2. Pseudocode:

Here is a pseudocode program that inputs CODE and PRICE and outputs COMMISSION:

```
input CODE
input PRICE

if CODE = 1 then
COMMISSION = PRICE * 0.03
if COMMISSION > 300 then
COMMISSION = 300
end if
else if CODE = 2 then
COMMISSION = PRICE * 0.05
if COMMISSION < 75 then
COMMISSION = 75
end if
else if CODE = 3 then
COMMISSION = PRICE * 0.06
else
output "Invalid CODE"
end if

output COMMISSION
```

Here's a possible solution for both the flowchart and pseudocode:

Flowchart:
1. Start
2. Input CODE and PRICE
3. If CODE = 1:
a. Set COMMISSION as 3% of PRICE
b. If COMMISSION > $300, set COMMISSION as $300
4. Else if CODE = 2:
a. Set COMMISSION as 5% of PRICE
b. If COMMISSION < $75, set COMMISSION as $75
5. Else if CODE = 3:
a. Set COMMISSION as 6% of PRICE
6. Output COMMISSION
7. Stop

Pseudocode:

```
START
INPUT CODE, PRICE
IF CODE = 1 THEN
SET COMMISSION = PRICE * 0.03
IF COMMISSION > 300 THEN
SET COMMISSION = 300
END IF
ELSE IF CODE = 2 THEN
SET COMMISSION = PRICE * 0.05
IF COMMISSION < 75 THEN
SET COMMISSION = 75
END IF
ELSE IF CODE = 3 THEN
SET COMMISSION = PRICE * 0.06
END IF
OUTPUT COMMISSION
END
```

Both the flowchart and pseudocode follow a structured approach to solve the problem. The flowchart represents the steps visually, while the pseudocode provides a text-based representation of the solution. You can implement the provided pseudocode in a programming language of your choice to get the desired output.