1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Diano4ka-milaya [45]
4 years ago
14

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
Computers and Technology
1 answer:
adell [148]4 years ago
7 0

Answer:

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.
You might be interested in
Good HTML skills will be required in order to prevent what from happening in the design of a web page?
Verizon [17]

Answer:

to properly use the tags in the web page

Explanation:

The full form HTML is Hyper Text Mark up Language. HTML is used in designing a good web page in the computer. It is used to design the document that are displayed in the web browser.

Instead of using a programming language to do the functions of a web page, the markup language uses the tags to identify the different types of the contents and purposes that they serve in the web page. A good HTML skills are required to prevent the web page from any improper designing of the contents in the web page.

5 0
3 years ago
Whats your favorite thing about tech
Lera25 [3.4K]
How it advances our lives and helps us in so many ways
5 0
3 years ago
Read 2 more answers
What are concepts and accrual​
Darya [45]

Answer:

umm oh nvrm i forgot

Explanation:

4 0
3 years ago
Read 2 more answers
Pa help po brainliest po kayo kon may nakita ako ng brainliest at mag wait kayo nga i brainliest kailangan ko ngayon please, hel
notka56 [123]

Answer:

hi

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

good evening

8 0
3 years ago
Write an exception class named InvalidTestScore. Modify the TestScores class you wrote in Part I so that it throws an InvalidTes
Elan Coil [88]

Answer:

See Explaination

Explanation:

package testscores;

import java.util.ArrayList;

import java.util.List;

public class TestScores {

public List<Integer> scorearray=new ArrayList<>();

public TestScores(List<Integer> scores) throws InvalidTestScore{

this.scorearray=scores;

for(int i=0;i<scorearray.size();i++){

if(scorearray.get(i)>100 || scorearray.get(i)<0){

throw new InvalidTestScore(this.scorearray.get(i));

}

}

}

public double average(){

int tot=0;

for(int i=0;i<this.scorearray.size();i++){

tot=tot+this.scorearray.get(i);

}

return tot*(1.0)/(this.scorearray.size());

}

class InvalidTestScore extends Exception

{

private double amount;

public InvalidTestScore(int Score)

{

System.out.println("Invalid Score "+Score);

}

}

}

8 0
4 years ago
Other questions:
  • Which company is credited with solving a problem by creating a program that could work on all computers?
    11·1 answer
  • RDBMS stands for_________________
    12·1 answer
  • On dynamic disks, the term partition is not used to define the space where a file system is installed. what term is used?
    6·1 answer
  • websites in which a question appears at the top with boxes underneath that help answer the question are called?
    10·1 answer
  • Which of the following is a scam where perpetrators promise high pay for working on different projects like wooden calendars, pa
    13·1 answer
  • Universal Containers is creating a custom Visualforce page to allow users to edit contact records. The developer has used an ape
    6·1 answer
  • A 9-year old male castrated Westie presents on emergency after being rescued from a house fire. On presentation, the dog has a r
    9·1 answer
  • 6. What type of application is designed for making slide shows?​
    12·2 answers
  • List five applications field of a computer?​
    8·1 answer
  • PowerPoint Online automatically saves your presentation to what Office Online application? OneDocument OneDrive OneNote OneWay
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!