(1) Write a C program with call to functions to produce the output given below.

(2) The program should display the output to screen as

CIS 6 – Introduction to C Programming
Laney College
YourName
Assignment Information --
Assignment Number: Homework 4,
Coding Assignment -- Exercise #1
Written by: YourName
Submitted Date: Due Date

You need to replace "Your Name" with your real name and Due Date with the specified due date.

The above result should come from a call to a function named as displayClassInfoYourName(), where YourName must be replaced by your first name and your last name initial. For examples, if your name is John Smith then YourName should be JohnS throughout all of your work/code as mentioned.

(3) The program will then continue to call other functions and display the results as follows,

// OUTPUT – Sample Run
CIS 6 – Introduction to C Programming
Laney College
YourName
Assignment Information --
Assignment Number: Homework 4,
Coding Assignment -- Exercise #1
Written by: YourName
Submitted Date: Due Date

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 6

Wrong Option!

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 1

Enter an integer: -9
Calling displayAllDigitYourName() with argument of -9 –
-9 is a negative number.
There is/are 1 digit(s).
The digit(s) would be
9
There is/are 0 even digit(s).
There is/are 1 odd digit(s).
******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 1

Enter an integer: -13454
Calling displayAllDigitYourName() with argument of -13454 --
-13454 is a negative number.
There is/are 5 digit(s).
The digit(s) would be
4
5
4
3
1
There is/are 2 even digit(s).
There is/are 3 odd digit(s).

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 1

Enter an integer: 3450406
Calling displayAllDigitYourName() with argument of 3450406 --
3450406 is a positive number.
There is/are 7 digit(s).
The digit(s) would be
6
0
4
0
CIS6 – Introduction to Programming; Homework #4 – Page 4 of 5
5
4
3
There is/are 5 even digit(s).
There is/are 2 odd digit(s).

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 1

Enter an integer: -3450406

Calling displayAllDigitYourName() with argument of -3450406 --
-3450406 is a negative number.
There is/are 7 digit(s).

The digit(s) would be
6
0
4
0
5
4
3
There is/are 5 even digit(s).
There is/are 2 odd digit(s).

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 1
Enter an integer: 0

Calling displayAllDigitYourName() with argument of 0 --
The given value is ZERO!

******************************************
* MENU – HW #4 *
* (1) Calling displayAllDigitYourName() *
* (2) Quit *
******************************************
Enter an integer for option + ENTER: 2

Have fun!

At least, your program should have and use the following functions,

displayClassInfoYourName()
displayAllDigitYourName()

where YourName must be replaced by your first name and your last name initial as mentioned.

The sample run will have the options and values selected by the user.

At least, you must run your program to produce the output as shown above.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.