(1) Write a C program with calls 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 3,
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,

// --------------- RUN #1 ---------------
// OUTPUT – Sample Run #1
CIS 6 – Introduction to C Programming
Laney College
YourName

Assignment Information --
Assignment Number: Homework 3,
Coding Assignment -- Exercise #1

Written by: YourName
Submitted Date: Due Date

Calling extractDigit1YourName()
Enter a floating-point: 12385.456
12385.456000 is a positive value!
The integral portion of 12385.456000 is 12385!

After the function extractDigit1YourName() finished and returned:
1-digit : 5

Calling extractDigit10YourName()
Enter a floating-point: 12385.456
12385.456000 is a positive value!
The integral portion of 12385.456000 is 12385!

After the function extractDigit10YourName() finshed and returned:
10-digit : 8
// --------------- RUN #2 ---------------
// OUTPUT – Sample Run #2
CIS 6 – Introduction to C Programming
Laney College
YourName

Assignment Information --
Assignment Number: Homework 3,
Coding Assignment -- Exercise #1

Written by: YourName
Submitted Date: Due Date

Calling extractDigit1YourName()
Enter a floating-point: -12385.456
-12385.456000 is a negative value!
The integral portion of -12385.456000 is -12385!

After the function extractDigit1YourName() finished and returned:
1-digit : 5

Calling extractDigit10YourName()
Enter a floating-point: -12385.456
112385.456000 is a negative value!
The integral portion of -12385.456000 is -12385!

After the function extractDigit10YourName() finshed and returned:
10-digit : 8
// --------------- RUN #3 ---------------
// OUTPUT – Sample Run #3
CIS 6 – Introduction to C Programming
Laney College
YourName

Assignment Information --
Assignment Number: Homework 3,
Coding Assignment -- Exercise #1

Written by: YourName
Submitted Date: Due Date

Calling extractDigit1YourName()
Enter a floating-point: -1230.456
-1230.456000 is a negative value!
The integral portion of -1230.456000 is -1230!

After the function extractDigit1YourName() finished and returned:
1-digit :0

Calling extractDigit10YourName()
Enter a floating-point: -1230.456
-1230.456000 is a negative value!
The integral portion of -1230.456000 is -1230!

After the function extractDigit10YourName() finshed and returned:
10-digit : 3
// --------------- RUN #4 ---------------
// OUTPUT – Sample Run #4
CIS 6 – Introduction to C Programming
Laney College
YourName

Assignment Information --
Assignment Number: Homework 3,
Coding Assignment -- Exercise #1

Written by: YourName
Submitted Date: Due Date

Calling extractDigit1YourName()
Enter a floating-point: -0.456
-0.456000 is a negative value!
The integral portion of -0.456000 is 0!

After the function extractDigit1YourName() finished and returned:
1-digit :0

Calling extractDigit10YourName()
Enter a floating-point: -1230.456
-0.456000 is a negative value!
The integral portion of -0.456000 is 0!

After the function extractDigit10YourName() finshed and returned:
10-digit : 0

Your program should have and use the following functions,

displayClassInfoYourName()
extractDigit1YourName()
extractDigit10YourName()

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.

You must run your program four (4) times to produce the output as shown.

(4) Save the program as cis6Fall2019YourNameHw3Ex1.c; and

(5) The above output should be copied and added to the end of the code in the OUTPUT comment block.

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.