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
melomori [17]
3 years ago
12

Write a program that will accept n number of integers from the keyboard. When the loop exits output the largest and smallest val

ue entered. Note: Be careful, it is not appropriate to initialize the variables that hold the largest and smallest values to 0 as your first number. If you think about it if all values entered are greater than 0 then your program will output 0 as the smallest number and this was not a number that was entered.
Required: The only decisions staments allowed inside the loop are to determine the largest and smallest value. This means you are not allowed to use a decision to determine if the first number was entered. This is going to require you to prime your loop.

Computers and Technology
1 answer:
Andre45 [30]3 years ago
6 0

Answer:

Explanation:

n = eval(input('Enter # of number you want to enter: '))

list_=[]

for i in range(n):

   number = eval(input("enter number: "))

   list_.append(number)

   if i == n-1:

       maximum = max(list_)

       minimum = min(list_)

       print("maximum : "+str(maximum))

       print("minimum : "+str(minimum))

   

You might be interested in
Which of the following can technology NOT do?
Gnesinka [82]

make our life problem free

because technology has its negative effects on humanity like Social media and screen time can be bad for mental health

And technology is leading us to sedentary lifestyles

Technology is addictive

Insomnia can be another side effect of digital devices

Instant access to information makes us less self-sufficient

Young people are losing the ability to interact face-to-face

Social media and screen time can be bad for mental health

Young people are losing the ability to interact face-to-face

Relationships can be harmed by too much tech use

4 0
2 years ago
Phases of systems development life cycle do developers identify the particular features nd functions of a new system
ki77a [65]

The phase where developers identify the particular features and functions of a new system is the requirement and analysis stage.

<h3>What is system development?</h3>

System development is the process of defining, designing, testing, and implementing a new software application or program.

System development has a life cycle. The primary stages are as follows;

  • Planning stage
  • Requirement and Analysis
  • Design
  • Development
  • Testing
  • Implementation.
  • Operation and maintenance.

Therefore, the phase where developers identify the particular features and functions of a new system is the requirement and analysis stage.

learn more on system development here: brainly.com/question/13042526

#SPJ12

7 0
1 year ago
Read 2 more answers
Over the past week, every time Larry has started his computer, he has noticed that the time is not correct. Larry didn't conside
DiKsa [7]

Answer + Explanation:

You can tell Larry to set his device's location on 'enabled' at all times. That way, you get the time zone too. For example. if you live in the US, and your Location is not enabled, then the device may think that you are in China, or where the device was last at.

4 0
2 years ago
Which step in the software development life cycle involves writing pseudocode?
Andrews [41]
Once the pseudocode is accepted by the team, it is rewritten using the vocabulary and syntax of a programming language. The purpose of using pseudocode is an efficient key principle of an algorithm. It is used in planning an algorithm with sketching out the structure of the program before the actual coding takes place.
6 0
3 years ago
What does the following program do? student = 1 while student &lt;= 3: total = 0 for score in range (1,4): score = int(input("En
sukhopar [10]

Answer:

The code requests for the scores of three students for three courses offered by each student.

It calculates and print the average score for each student

Explanation:

The code written in Python programming language uses a while to get student 1-3 and a for loop to get scores for course 1-3

See attached code and output

6 0
2 years ago
Other questions:
  • Design and implement a class dayType that implements the day of the week in a program. The class dayType should store the day, s
    11·1 answer
  • what is the largest possible number of internal nodes in a redblack tree with black height k? what is the smallest possiblenumbe
    11·1 answer
  • Proxy servers and ACLs on network devices are examples of non-security devices with security features, while firewalls and IDS/I
    8·1 answer
  • The main workspace of a Windows computer is called the______
    5·1 answer
  • You are given an integer N, followed by N lines of input (1 &lt;= N &lt;= 100). Each line of input contains one or several words
    8·1 answer
  • Being nice take the points​
    9·1 answer
  • How to upgrade brainly membership
    11·2 answers
  • A company is deploying NAFDs in its office to improve employee productivity when dealing with paperwork. Which of the following
    11·1 answer
  • How many grams are in 100 pounds?
    6·2 answers
  • Three different numbers need to be placed in order from least to greatest. For example, if the numbers are ordered 9, 16, 4, the
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!