Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are given the width and height of a picture. Determine whether it is in landscape orientation ( wider than tall ) , in portrait
You are given the width and height of a picture. Determine whether it is in landscape orientation wider than tall in portrait orientation taller than wide or square, then print Landscape, Portrait, or Square. Empty print statements are included for output formatting.
width intinputWidth:
print
height intinputHeight:
print
# Use an ifleliflelse statement to print
# Portrait, Landscape, or Square
# Your code goes here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started