Switch/Case lesson 1
Assignment
Write a program and ask the user to enter the width and height of an image.
Test the numbers to make sure that neither of them are negative.
If they are negative numbers output an error message to the console
If they are positive numbers, using switch / case, then output to the console whether the image is landscape or portrait.
Test the numbers to make sure that neither of them are negative.
If they are negative numbers output an error message to the console
If they are positive numbers, using switch / case, then output to the console whether the image is landscape or portrait.