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, 22.06.2019 02:30
The can be used to paste text in any order
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
question
Computers and Technology, 23.06.2019 21:30
Write a fragment of code that reads in strings from standard input, until end-of-file and prints to standard output the largest value. you may assume there is at least one value. (cascading/streaming logic, basic string processing)
Answers: 3
You know the right answer?
Design a main( ), oddEven( m1) and findAverage(n1, n2, n3, n4) functions in python. The main( ) prom...
Questions
question
Mathematics, 28.04.2021 08:40
question
English, 28.04.2021 08:40
question
Mathematics, 28.04.2021 08:40
question
Mathematics, 28.04.2021 08:40
question
Mathematics, 28.04.2021 08:40
Questions on the website: 13722363