Question: 1 Write a program that given any two positive integer numbers: (i) Determines which is the smaller number and which is the bigger number (ii)

 1 Write a program that given any two positive integer numbers:

1 Write a program that given any two positive integer numbers: (i) Determines which is the smaller number and which is the bigger number (ii) Determines if the numbers are both odd, both even or one is odd and one is even. (iii) Prints out all of the numbers between the smaller and larger number (including the smaller and larger number). 2.2 Write a program that asks the user to enter a person's first name, middle name and last name. The program should then print the names in the following format: Last name, First name, M. where M is the first letter of their middle name. The program should always print the first letter of each name in uppercase and the remaining letters in lowercase irrespective of the case the name was entered in

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!