Answer
$$
\begin{array}{l}{\text { Get values for } x, y, \text { and } z} \\ {\text { If } x>0 \text { then }} \\ {\text { $\ \ \ \ \ \ \ \ $ Set the value of average to }(x+y+z) / 3} \\ {\text { $\ \ \ \ \ \ \ \ $ Print the value of average }} \\ {\text { Else }} \\ {\text { $\ \ \ \ \ \ \ \ $ Print the message 'Bad Data' }} \\ {\text { Stop }}\end{array}
$$
Work Step by Step
$$
\begin{array}{l}{\text { Get values for } x, y, \text { and } z} \\ {\text { If } x>0 \text { then }} \\ {\text { $\ \ \ \ \ \ \ \ $ Set the value of average to }(x+y+z) / 3} \\ {\text { $\ \ \ \ \ \ \ \ $ Print the value of average }} \\ {\text { Else }} \\ {\text { $\ \ \ \ \ \ \ \ $ Print the message 'Bad Data' }} \\ {\text { Stop }}\end{array}
$$