Ask Question
24 January, 13:29

A program needs to allow a customer to input integers until the input number is zero. When the input number is zero, the program should write the message "The number of integers you have input is: X" (instead of X there should be the total count of numbers input). What should be added below to replace the question mark

+5
Answers (1)
  1. 24 January, 17:11
    0
    The answer is "Increment count by 1".

    Explanation:

    In the given program a customer inserts numbers that must store in the array variable on the insertion time we define a condition that if the inserting number value is equal to 0. Then the program will terminate with a message that is "The number of integers you have input is: X". In the program first, we insert some value then we insert a number that is 0. So the program will increment the value of count by 1 and add all values and prints its total.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A program needs to allow a customer to input integers until the input number is zero. When the input number is zero, the program should ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers