e python Two people are trying to determine if they are compatible as friends and there is one criteria that is very important to both of them and they must agree on this issue. Conveniently they are able to represent their views as integers and have also determined a boundary integer to determine which side of the issue they are on Write a function named "same_side" that takes two integers as parameters. The function will return a boolean which represents true if the inputs are both greater than 41 or if they are both less than 41. If the inputs are not on the same side of 41 or if either input is equal to 41 then the function should return a value representing false

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.1: Function And Parameter Declarations
Problem 4E: (Statics) A beam’s second moment of inertia, also known as its area moment of inertia, is used to...
icon
Related questions
Question
100%
python" Two people are trying to determine if they are compatible as friends and there is one criteria that is very important to both of them and they must agree on this issue. Conveniently they
are able to represent their views as integers and have also determined a boundary integer to determine which side of the issue they are on
Write a function named "same_side" that takes two integers as parameters. The function will return a boolean which represents true if the inputs are both greater than 41 or if they are both less than
41. If the inputs are not on the same side of 41 or if either input is equal to 41 then the function should return a value representing false
Transcribed Image Text:python" Two people are trying to determine if they are compatible as friends and there is one criteria that is very important to both of them and they must agree on this issue. Conveniently they are able to represent their views as integers and have also determined a boundary integer to determine which side of the issue they are on Write a function named "same_side" that takes two integers as parameters. The function will return a boolean which represents true if the inputs are both greater than 41 or if they are both less than 41. If the inputs are not on the same side of 41 or if either input is equal to 41 then the function should return a value representing false
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr