139k views
1 vote
How to write pseudo code of volume of cylinder

User Joe Eigi
by
8.3k points

1 Answer

3 votes

Answer:

Step-by-step explanation:

note the height "h" and radius "r" of the cylinder

IF the height "h" & radius "r" of cylinder are not zero or less than zero THEN

volume V=(3.142)*r*r*h

ELSE

enter valid values of "r" & "h"

END IF

PRINT V

stop

stop

User Ordo
by
7.8k points