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
lesantik [10]
4 years ago
10

Given an int variable k, an int array incompletes that has been declared and initialized, an int variable studentID that has bee

n initialized, and an int variable numberOfIncompletes, write code that counts the number of times the value of studentID appears in incompletes and assigns this value to numberOfIncompletes. You may use only k, incompletes, studentID, and numberOfIncompletes. SUBMIT
Computers and Technology
1 answer:
Feliz [49]4 years ago
7 0

Answer:

check the explanation

Explanation:

Variables when it comes to programming are used to store data to be documented and manipulated in a computer program. They can also be used for labeling stored data with a descriptive name and any other needed details, so that the programs can be comprehended more understandably by the reader and ourselves.

to solve the question, we will write this set of codes;

numberOfIncompletes = 0;

for(k = 0; k < incompletes.length; k++)

{

       if(incompletes[k] == studentID)

           numberOfIncompletes++;

}

You might be interested in
If Z=52 and ACT=48 then BAT=​ with explanation??​
Alekssandra [29.7K]
In the given code, A = 2, B = 4, C = 6,.... , Z = 52.
So, ACT = 2 + 6 + 40 = 48 and
BAT = 4 + 2 + 40 = 46
6 0
3 years ago
Memories Record Players Company has seen most of its competition slip away, and it now holds 95 percent of the market share for
AlladinOne [14]

Answer:

Decline Stage

Explanation:

The decline stage is the stage after attaining maturity in the product life cycle. At this point, the product begins to lose its value in sales as a result of poor acceptance or an entry of a better substitute for it. This gives rise to loss in profit and a gradual halt in demand.

4 0
3 years ago
Time-management techniques work most effectively when performed in which order?
Sholpan [36]

Answer:

study-time survey, project schedule, prioritize tasks, reward system.

Explanation:

Time management can be defined as a strategic process which typically involves organizing, planning and controlling the time spent on an activity, so as to effectively and efficiently enhance productivity. Thus, when time is properly managed, it avails us the opportunity to work smartly rather than tediously (hardly) and as such making it possible to achieve quite a lot within a short timeframe. Also, a good time management helps us to deal with work-related pressures and tight schedules through the process of properly allocating the right time to the right activity.

Hence, time-management techniques work most effectively when performed in the following sequential order; study-time survey, project schedule, prioritize tasks, and designing (creating) a reward system.

4 0
3 years ago
Al encender manda un mensaje de que Windows se cerró de manera inesperada y da varías opciones pero se elige la que sea, regresa
vagabundo [1.1K]

Answer:

6

Explanation:

4 0
3 years ago
1. What are copyright laws? (6 points)
Serggg [28]

Can u pls help me. srry i had to ask u on here lol

8 0
3 years ago
Other questions:
  • Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a m
    6·2 answers
  • A is the smallest unit of application data recognized bysystem software.
    12·1 answer
  • a. Write a function called fizzbuzz. This function will take 1 number as a parameter. The function will print all numbers from 0
    15·1 answer
  • A technician is using a network-attached desktop computer with a Type 2 hypervisor to run two VMs. One of the VMs is infected wi
    14·1 answer
  • What does prioritization help you to do?
    12·2 answers
  • Alyson would like to see a list of all of the applications installed on her computer. What is the easiest way for her to do this
    8·1 answer
  • Describe how a black and white image could be represented in binary
    11·2 answers
  • Assume a large shared LLC that is tiled and distributed on the chip. Assume that the OS page size is 16KB. The entire LLC has a
    8·1 answer
  • Can anyone please give examples of pseudocode in programming? Thanks you very much!
    7·1 answer
  • What's good computing?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!