Write a program that reads an unspecified number of integers


Problem

Write a program that reads an unspecified number of integers, determines how many positive and negative values have been read, and computes the total and average of the input values (not counting zeros). Your program ends with the input 0. Display the average as a floating-point number. Do not use sum function.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that reads an unspecified number of integers
Reference No:- TGS03332280

Expected delivery within 24 Hours