Question: [6 points] Write a program that ask a user (use the input(0 function) for a number. If the number is odd, your program should print

 [6 points] Write a program that ask a user (use the

[6 points] Write a program that ask a user (use the input(0 function) for a number. If the number is odd, your program should print "knumber> is odd". If the number is not odd but is divisible by 3, your program should print" is replaced with the actual number). You can assume that the user's input is a whole number greater than 0

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!