Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write the program in python 3 language and make sure it works correctly Write a program that reads three numbers and prints increasing if

please write the program in python 3 language and make sure it works correctly

image text in transcribed

Write a program that reads three numbers and prints "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 344 would not be considered increasing. Sample run 1: Enter the first number: 5 Enter the second number: 8 Enter the third number: 10 The numbers are increasing Sample run 2: Enter the first number: 8 Enter the second number: 5 Enter the third number: 4 The numbers are deccreasing Sample run 2: Enter the first number: 5 Enter the second number: 8 Enter the third number: 4 neither

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

Excel caculation on cascade mental health clinic

Answered: 1 week ago