Write an algorithm that gets as input three data valuesxy


Write an algorithm that gets as input three data valuesx,y, andz and outputs the average of these values if the value ofx is positive. If the value ofx is either zero or negative, your algorithm should not compute the average but should print the error message "Bad Data" instead.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Write an algorithm that gets as input three data valuesxy
Reference No:- TGS01260643

Expected delivery within 24 Hours