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
Lerok [7]
3 years ago
6

First, read in an input value for variable valCount. Then, read valCount integers from input and output each integer on a newlin

e followed by the string" reports.".
Ex: If the input is 3 70 65 75, the output is:

70 reports.
65 reports.
75 reports.​
Computers and Technology
1 answer:
ratelena [41]3 years ago
4 0

Answer:

The program in Python is as follows:

valCount = int(input())

reports = []

for i in range(valCount):

   num = int(input())

   reports.append(num)

   

for i in reports:

   print(i,"reports.")

Explanation:

This gets input for valCount

valCount = int(input())

This creates an empty list

reports = []

This gets valCount integer from the user

<em>for i in range(valCount):</em>

<em>    num = int(input())</em>

<em>Each input is appended to the report list</em>

<em>    reports.append(num)</em>

This iterates through the report list

for i in reports:

This prints each element of the report list followed by "reports."

   print(i,"reports.")

You might be interested in
Write a function PrintShampooInstructions(), with int parameter numCycles, and void return type. If numCycles is less than 1, pr
anastassius [24]

Well, you didn't say what language, so here's in Java:


public static void PrintShampooInstructions(int numCycles)

   {

       if(numCycles < 1)

           System.out.println("Too few.");

       else if (numCycles > 4)

           System.out.println("Too many.");

       else

       {

           for(int i = 1; i <= numCycles; i++)

           {

               System.out.println(i+": Lather and rinse.");

           }

           System.out.println("Done.");

       }

   }


And also in an image, in case you can't really see it

6 0
3 years ago
Read 2 more answers
The possible states of a process are:
Oliga [24]

Answer:

a. new, running, waiting, ready, and terminated.

Explanation:

The process in a computer system can have different states and these are:

-New: When the process is created.

-Ready: When the process is waiting to be executed.

-Running: When the process is chosen to be executed.

-Waiting: When the process is expecting for something to happen.

-Terminated: When the process is not running anymore.

According to this, the answer is that the possible states of a process are: new, running, waiting, ready, and terminated.

3 0
4 years ago
Read 2 more answers
Type the correct answer in the box. Spell all words correctly.
Feliz [49]

Answer:

While trying to minimize project cost, project manager Ben realized that adjusting the schedule is not completely serving the purpose. What else can ben do to minimize project cost?

In addition to adjusting the schedule, Ben can adjust Everything. For example, the Ben can hire people on contract to reduce costs

7 0
3 years ago
Read 2 more answers
What objective behaves like a high level array
zavuch27 [327]

Answer:

C.Vector

Explanation:

Vector is a high level array used in C++.It has the capability of resizing itself when it gets full.it has many functions that increases it's functionality like size(),begin(),end(),erase(),clear(),push_back(),pop_back() and many more and we store any kind of data type in the vector.

syntax for declaring a vector:-

vector<data type> vector name.

8 0
3 years ago
Default tab stops are set in Word every _______ inch. <br> A. ½<br> B. 1<br> C. ¼<br> D. ¾
Amanda [17]
In order to help the student expand his/her knowledge I will help answer the question. This in hope that the student will get a piece of knowledge that will help him/her through his/her homework or future tests.

Default tab stops are set every one half inch across a page. This is a default measure that Microsoft established. The correct answer is letter

A. 1/2

I hope it helps, Regards.     <span> </span>
4 0
3 years ago
Other questions:
  • Devices used for viewing images from one computer to another over the internet
    6·1 answer
  • Roblox published a series of videos to help their audience use their creation engine, what are they called?​
    9·2 answers
  • Because of Moore's Law, widely-used encryption programs currently employed by banks and ecommerce sites are now easily penetrate
    11·1 answer
  • Find the number of ideal integers within the given segment [low,high] inclusive. An ideal number is a positive integer that has
    9·1 answer
  • What were the first microblogs known as?
    13·2 answers
  • A customer seeks to buy a new computer for private use at home. The customer primarily needs the computer to use the Microsoft P
    9·1 answer
  • A sequence of direct connections
    10·1 answer
  • Which of the following are used to classify plutons
    14·1 answer
  • Definition of data redundancy​
    8·1 answer
  • As you will solve more complex problems, you will find that searching for values in arrays becomes a crucial operation. In this
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!