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 14:20
Cengagenowv2 is a comprehensive online learning tool. using cengagenowv2, you may access all of the following except: 2. each time you log in, cengagenowv2 automatically performs a system check and informs you if your computer does not meet the cengagenowv2 system requirements. 3. which tab/page allows you to easily track your assignment scores, number of submissions, time spent, as well as the ability view assign
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
question
Computers and Technology, 25.06.2019 09:20
The adbusters' image of the gap logo on the silhouette of a head most likely relays the message that: a.the man in the ad needs a hat from the gap b.consumers should be suspicious of gap ads c.gap clothes make you look intelligent d.everyone should have the gap on their minds
Answers: 1
You know the right answer?
Design a main( ), oddEven( m1) and findAverage(n1, n2, n3, n4) functions in python. The main( ) prom...
Questions
question
Chemistry, 25.08.2020 20:01
question
Mathematics, 25.08.2020 20:01
Questions on the website: 13722367