1. Engineering
  2. Computer Science
  3. write a c program that accepts some unknown number of...

Question: write a c program that accepts some unknown number of...

Question details

Write a C++ program that accepts some unknown number of positive integers with ZERO

signifying the end of input and that will compute AND output, in reverse, the average

value of each pair of numbers. You may assume that all input is correct.

Do not use linked lists and/or arrays! This calls for a RECURSIVE procedure or function.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution