Answer:
The program is as follows:
10 INPUT RADIUS, BASE, HEIGHT
20 CIRCLE = 3.142* RADIUS * RADIUS
30 TRIANGLE = 0.5* BASE * HEIGHT
40 PRINT CIRCLE
50 PRINT TRIANGLE
60 STOP
Explanation:
The program description doesn't tally;
In other words, it is impossible to calculate the area of a triangle using the radius of a circle.
So, I designed the program to get input for radius, base and height.
Get input for radius, base and height
10 INPUT RADIUS, BASE, HEIGHT
Calculate area of circle
20 CIRCLE = 3.142* RADIUS * RADIUS
Calculate area of triangle
30 TRIANGLE = 0.5* BASE * HEIGHT
Print area of circle
40 PRINT CIRCLE
Print area of triangle
50 PRINT TRIANGLE
End of program
60 STOP