3 Draw a flow chart for the following questions. a Calculate the area of a triangle given the base is 4 cm. BEGIN DECLAR
Posted: Tue Apr 12, 2022 10:34 am
questions. a Calculate the area of a triangle given the base is 4 cm. BEGIN DECLARE int base=4, height; double area GET height COMPUTE area=0.5*base*height PRINT base, height, area 4cm END b Find the momentum of the ball given the mass of the ball is 1.50 kg and the velocity is 4 m s-1. (Hint: p = mv) BEGIN DECLARE double p m. V INITIALIZEM 1.50, v = 4 CALCULATE p m*v DISPLAY P END = =
3 Draw a flow chart for the following