Ask Question
30 August, 14:10

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

+1
Answers (1)
  1. 30 August, 16:35
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers