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
Marina CMI [18]
3 years ago
7

Write a program that takes three numbers as input from the user, and prints the largest.

Computers and Technology
2 answers:
Stells [14]3 years ago
5 0

Answer:

x=int(input("Enter a number: "))

y=int(input("Enter a number: "))

z=int(input("Enter a number: "))

print("Largest: "+ str(max(x,y,z)))

Explanation:

Got it right and I hope this helps :)

S_A_V [24]3 years ago
3 0

Answer:

In Python:

n1 = int(input("Enter a number: "))

n2 = int(input("Enter a number: "))

n3 = int(input("Enter a number: "))

if n1 >= n2 and n1 >= n3:

   print("Largest: "+str(n1))

elif n2 >= n1 and n2 >= n3:

   print("Largest: "+str(n2))

else:

   print("Largest: "+str(n3))

Explanation:

The next three lines get three numbers from the user

n1 = int(input("Enter a number: "))

n2 = int(input("Enter a number: "))

n3 = int(input("Enter a number: "))

This checks if the first number is greater than the other two. If yes, the first number is printed as the largest

<em>if n1 >= n2 and n1 >= n3:</em>

<em>    print("Largest: "+str(n1))</em>

This checks if the second number is greater than the other two. If yes, the second number is printed as the largest

<em>elif n2 >= n1 and n2 >= n3:</em>

<em>    print("Largest: "+str(n2))</em>

This prints the third number as the largest, if the other two conditions fail

else:

   print("Largest: "+str(n3))

You might be interested in
Why are computer manufacturers constantly releasing faster computers? how do computer users benefit from the increased speed?
Anastaziya [24]
<span>As programs and online activities have grown more robust and innovative, it has simultaneously required computer manufacturers to identify ways to make their devices faster to keep up with these changes. Users benefit immensely due to their ability to have boundless and efficient access to their various needs.</span>
8 0
3 years ago
Digital citizenship is both a right and a {Blank}.
wolverine [178]
Privilege, I believe.
Hope this helps!<span />
6 0
3 years ago
Read 2 more answers
Chuyến đỗi biểu số giữa các hệ đếm <br> 011011 =?
aleksley [76]
If u need the answer in decimal binary system then 10101100000011 is the answer .
8 0
2 years ago
Imagine that you work for a media company, TalentScout. Your job is to find a host for a new web-based reality show that will be
Paha777 [63]

hes gay,shes furry

BOOM

spray with ak-47

you just got your self a double kill 2x points 3x damage multiplyer

ROUND WON

gg ez

3 0
3 years ago
Read 2 more answers
_____ are used by teams of developers to manage changes to the code, so that changes are not lost or overwritten.
Amiraneli [1.4K]

In order to manage changes to a code, so that changes are not lost or overwritten, teams of developers use: <em>End-user license agreements</em>.

<h3>What is the End-User License Agreement (EULA)?</h3>

The End-User License Agreement (EULA) can be defined as a contract that dictates the rights a user has to use a software application in such a way that it protects the software vendor's intellectual property (IP).

Thus, in order to manage changes to a code, so that changes are not lost or overwritten, teams of developers use: <em>End-user license agreements</em>.

Learn more about End-user license agreements on:

brainly.com/question/24288054

7 0
2 years ago
Other questions:
  • An example of software is
    9·2 answers
  • What are the 4-bit patterns used to represent each of the characters in the string "1301"? Only represent the characters between
    14·1 answer
  • 9.6 Code Practice: Question 1
    9·1 answer
  • Write a JavaScript program to generate the following pattern but the number of rows should be user input.
    8·1 answer
  • What occurs when a website can know enough about a person's likes and dislikes that it can fashion offers that are more likely t
    9·1 answer
  • Which of the following entries into the username and password fields will NOT cause us to gain admin access? You may assume that
    12·1 answer
  • Advantages of desktop publishing over traditional methods include       
    11·1 answer
  • What is a task that is not associated with loading existing data into a new ERP system.
    11·2 answers
  • How to transfer mysql database from one server to another
    6·1 answer
  • Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!