Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

Name this molecule. FC-C-C

Answered: 1 week ago

Question

3. Define the roles individuals play in a group

Answered: 1 week ago