What This Document Is
This document is a lab assignment (Lab 01) for CIS170C Programming at DeVry University. It consists of three parts: a basic ticket calculation program, a debugging exercise, and a payroll program. It appears to be designed to give students initial practice with C++ input, output, and basic arithmetic operations.
Why This Document Matters
This lab is intended for students enrolled in the CIS170C Programming course. It’s likely used as an early assessment to verify understanding of fundamental programming concepts covered in the first week of the course. Successful completion demonstrates a student’s ability to write, debug, and execute simple C++ programs.
Common Limitations or Challenges
This lab assignment focuses on very basic programming tasks. It does not cover advanced concepts like data structures, loops, or conditional statements. Students will still need to understand core programming principles and apply them to more complex problems beyond this assignment.
What This Document Provides
The full document includes:
* Source code for a ticket calculation program.
* A debugging exercise with identified errors in a program designed to calculate an average.
* Source code for a payroll program calculating gross profit, net profit, and distributor amounts.
* Error descriptions related to the debugging exercise.
This preview *does not* include the complete, executable code for all programs, nor does it provide solutions to the debugging exercise. It also does not include any detailed explanations of the code's functionality.