Question: Write a program that asks the user Enter an integer:. If the user enters a number less than 10, display the message Mama Bear. If

 Write a program that asks the user "Enter an integer:". If

Write a program that asks the user "Enter an integer:". If the user enters a number less than 10, display the message "Mama Bear". If the user enters a number greater than or equal to 20, display "Papa Bear". If the enter anything else, display "Baby Bear". * Your answer This is a required question Ask the user to enter an integer. If the number is even, create a new number that is 15 more than the original. Otherwise, create a new numbers that is 9 less than the original. Print the original and new number in a table with data values left justified and column width 12 (NO rounding). Sample output is shown below for each possible case.* Please enter an integer: 40 Original New 40 55 Please enter an integer: 41 Original New 41 32 R

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!