Write a code snippet that prompts the user for an integer named number and prints out “Good Number” if the input meets any one the following conditions, and prints out “Bad Number” if it does not :...



  1. Write a code snippet that prompts the user for an integer named number and prints out “Good Number” if the input meets any one the following conditions, and prints out “Bad Number” if it does not :






        • number equals 5

        • number equals 7

        • number is between 10 and 20 (non-inclusive)

        • number is greater than 30.






Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here