Question: I need the missing code by following instuction! Please HELP ME! a) Write a function called strictOrder that takes in three integers as parameters and

I need the missing code by following instuction! Please HELP ME!

I need the missing code by following instuction! Please HELP ME! a)

a) Write a function called strictOrder that takes in three integers as parameters and returns the string increasing if they are in increasing order, decreasing if they are in decreasing order, and neither otherwise. Here, increasing means "strictly increasing, with each value larger than its predecessor. The sequence 3 4 4 would not be considered increasing. Use a main function to ask the user for the three numbers and call the strictOrder function. ## Name # Strict Order Program # Function to determine if the numbers are strictly in order or not def strictOrder (numi, num2, num3): # missing code goes here # main function def main() : # missing code needed to ask the user for the numbers # missing code needed to call the strictOrder function # and to store the value in a string variable # missing code needed to print the result to the user main() Navigator and Driver switch roles!! b) Add a function called lenientOrder to your program that takes in three integers as parameters and returns the string "increasing if they are in increasing order, decreasing if they are in decreasing order, and neither otherwise. In lenient mode 3 4 4 would be considered increasing and the sequence 4 4 4 would be considered both increasing and decreasing. Update your main method that asks the user if they would like their numbers to be compared in lenient more or strict mode. Call the proper function accordingly and display the results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!