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
denis-greek [22]
2 years ago
9

Define a function FindLargestNum() with no parameters that reads integers from input until a negative integer is read. The funct

ion returns the largest of the integers read
Computers and Technology
1 answer:
Phoenix [80]2 years ago
6 0

The FindLargestNum program is an illustration of function; where its execution is done when its name is called or evoked

<h3>The function FindLargestNum </h3>

The FindLargestNum function written in Python, where comments are used to explain each action is as follows:

#Thie defines the FindLargestNum function

def FindLargestNum():

   #This gets the first input

   num = int(input())

   #This initializes the minimum value

   maxm = num

   #The following is repeated until the user enters a negative input

   while num >= 0:

       #This determines the largest input

       if num > maxm:

           maxm = num

       #This gets the another input

       num = int(input())

   #This prints the largest input

   print(maxm)

Read more about functions at:

brainly.com/question/24941798

You might be interested in
What is the syntax of sinX????
kkurt [141]
The syntax of sinX is the script used in sinX. 
The syntax of something, whether it be Python, C++ or even sinX is just the code. 
That's why when you check the code for errors, the button says "check syntax"!
3 0
3 years ago
Write a function named parts that will take in as parameters the dimensions of the box (length, width, and height) and the radiu
iren [92.7K]

The function in Python where comments are used to explain each line is as follows:

#This defines the parts() function

def parts(length, width, height, radius):

   #This calculates the volume of the box

   VBox = length * width * height

   #This calculates the volume of the hole

   VHole = 3.142 * radius ** 2 * height

   #This calculates the remaining volume

   Volume =  VBox - VHole

   #This returns the volume of the remaining material

   return Volume

The above program is a sequential program, and it does not require loops, iterations and conditions.

Read more about similar programs at:

brainly.com/question/13971394

3 0
2 years ago
How to understand why driving is considered a privilege?
Mnenie [13.5K]
Driving is considered a privilege because you have to be a certain age to start driving and be able to drive by yourself legally. Driving can be dangerous if you are not a safe driver and if you do illegal things while behind the wheel. Driving is also a privilege because you have to be responsible when driving, because the people that are around you or with you, their lives are in your hands.

Your answer is: You need to carry the responsibility of being safe and not harming yourself or others. 

Have an amazing day!
3 0
3 years ago
In computer programming, what is syntax?
enot [183]

Answer: syntax is a set of rules for grammar and spelling. In other words, it means using character structures that a computer can interpret

6 0
2 years ago
Read 2 more answers
Which of the following supportability analysis tools relies on scheduled maintenance to spot a failure before it impacts system
Schach [20]

Answer:

Option a is the correct answer for the above question.

Explanation:

RCM is an analysis tool that provides the function for analyzing the features of the physical assets for any organization. This tool is used to analyze the profits and loss problem of the organization so that an organization can earn more in his future.

The above question states that which analysis tool is used to tell about the loss factor of the organization then the answer is RCM which is stated on the option a. hence Option a is the correct answer while the other is not because--

  • Option b states about FMECA which is a tool used when the organization earns loss.
  • Option c states about LORA which is a repair tool.
  • Option d states about TAFT which is used all over the system.
8 0
3 years ago
Other questions:
  • What is the definition of a WAP?
    6·2 answers
  • _____ allow(s) a user to double click with the mouse in a document to move the insertion point to a new location.
    11·1 answer
  • Which feature of a social news sharing website distinguishes it from a social bookmarking website
    15·2 answers
  • Write a program that converts a number entered in Roman numerals to decimal. your program should consist of a class, say, Roman.
    14·1 answer
  • How can an Excel table be added to a Word document? Check all that apply.
    15·1 answer
  • What name is used to denote a common field that exists between two tables, but is also the primary key for one of the tables??"
    8·1 answer
  • Match the organelles to their functions.
    6·1 answer
  • Which one you choosing? PS5 OR THE XBOX SERIES X???
    14·2 answers
  • What is one way to process your thoughts about the information you are reading?
    15·1 answer
  • What steps can you take to secure your private information?.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!