Write the algorithm to calculate the sum and difference of 30and20

1. Initialize two variables, num1 and num2, with the values 30 and 20 respectively.

2. Calculate the sum of num1 and num2 by adding them together and store the result in a variable called sum.
3. Calculate the difference between num1 and num2 by subtracting num2 from num1 and store the result in a variable called difference.
4. Display the values of sum and difference.

Pseudocode:
```
num1 = 30
num2 = 20
sum = num1 + num2
difference = num1 - num2
display sum
display difference
```