subject

Design a main( ), oddEven( m1) and findAverage(n1, n2, n3, n4) functions in python. The main( ) prompts the user and receives five integers from user and calls other functions as explained below. The main( ) program is expected to pass the first value to the oddEven(m1 ) function and pass the other 4 values to the findAverage(n1, n2, n3, n4). The oddEven(m1) function is a void functions and simply prints whether the argument sent was odd or even. The findAverage(n1, n2, n3, n4) function a value returning function and returns the average of the four values back to the main to be printed over there. You may also design a forth optional function called findSum( ) to help the findAverage(n1, n2, n3, n4) function to do its job faster

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 04:30
1. web and mobile applications allow users to be actively engaged in an online activity. a true b false 2. some examples of business applications purposes are to collaborate, share files, meet virtually in real-time, and accept payments. a true b false 3. an education application would most likely do which of the following? a allow users to watch popular movies and tv shows b connect users with social and business contacts c confirm users' travel plans d teach users a new language 4. a uniform resource locator (url) is how the internet knows where to take users when an address is typed into a browser. a true b false 5. deon is required to provide the citation information for his sources. what type of information should he collect from his sources? a author name, title, date of publication, date of access, url b connections to background information c interesting facts and statistics d notes on important information
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Carlos, an algebra teacher, is creating a series of powerpoint presentations to use during class lectures. after writing, formatting, and stylizing the first presentation, he would like to begin writing the next presentation. he plans to insert all-new content, but he wants to have the same formatting and style as in the first one. what would be the most efficient way for carlos to begin creating the new presentation? going under the file tab and opening the first presentation, deleting all content from each page, and adding new content going under the file tab and clicking on new in the left pane, then choosing new from existing going under the design tab and clicking on themes, then selecting the theme that was used for the first template going under the design tab and opening the template that was created for the first presentation
Answers: 2
question
Computers and Technology, 25.06.2019 07:00
Quick styles allow you to format an entire document quickly? t/f
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Beginning in the 1940s, first-generation computers used circuitsvacuum tube technologylaser technologytransistors
Answers: 2
You know the right answer?
Design a main( ), oddEven( m1) and findAverage(n1, n2, n3, n4) functions in python. The main( ) prom...
Questions
question
English, 10.06.2021 16:50
question
Mathematics, 10.06.2021 16:50
Questions on the website: 13722363