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
faltersainse [42]
4 years ago
15

Write the definition of a function printLarger, which has two int parameters and returns nothing. The function prints the larger

value of the two parameters on a single line by itself. (For purposes of this exercise, the "larger" means "not the smaller".)
Computers and Technology
1 answer:
GarryVolchara [31]4 years ago
7 0

Answer:

def printLarger(x: int ,y: int):

print(max(x,y))

Explanation:

The function is written in python as follows:

  1. the fuction printLarger takes two integer parameters x and y
  2. max() function determines larger value of x and y. If the numbers are the same it prints the value of the numbers as the largest value.
  3. the function prints the larger value.

You might be interested in
How do you restore deleted notpad++ file?
Natasha2012 [34]
Check your trash can, if that doesnt work then I would say its lost.
3 0
3 years ago
Which of the following is an object-oriented programming language?
Svetradugi [14.3K]

Explanation:

This is the correct answer

<h3>python</h3>
7 0
2 years ago
Outlines help you visualize the slides and the points you will include on each slide.
kvv77 [185]
I don’t know I think true
6 0
3 years ago
Every UNIX and Linux system contains full documentation of UNIX commands in the _____ pages.
Rashid [163]
Full documentation in the man pages.
8 0
4 years ago
Which of the following is not a type of output device? monitor keyboard printer speakers
My name is Ann [436]
A keyboard is not an output device since it is putting date into your computer. I hope this helps.
6 0
4 years ago
Other questions:
  • What is the difference between a router and a modem
    15·1 answer
  • What is a key reason for assignning permissiongs when configuring file and share access?
    7·1 answer
  • before donating a computer you should use a program to wipe the hardest to remove all of his data true or false
    6·1 answer
  • How can these requirements be met? Universal Containers conduct evaluations of their sales reps using a custom object consisting
    10·1 answer
  • Which is considered to be the oldest form of social media? A. media-sharing sites B. location-based services C. social networkin
    5·1 answer
  • Use the Bisection Method to find the root 2. Write a main program and a function program 3. Main Program a. define constants b.
    9·1 answer
  • For as long as you can remember, you've never been able to get a taco on Tuesday at your local taco truck. The lines are always
    8·1 answer
  • Write a recursive method that tests whether a string is a palindrome. It should return a boolean T or F depending on whether or
    6·1 answer
  • Barry discovers that an attacker is running an access point in a building adjacent to his company. The access point is broadcast
    9·1 answer
  • My pc suddenly freezes and i can't open any apps or task manager. Apps do not open at all and if i restart from the start it get
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!