CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 4
create more sophisticated C# projects. Projects can contain one or more
source-code files. For this course, you will not have to worry about all
the extra files that are created.
End of Part A
Part B: Calculate Total Tickets
Step 1: Create New Project
Now create a new project and name it LAB1B. Make sure you close
your previous program by clicking File >> Close Solution.
Step 2: Type in Program
Like before, enter the following program. Type in your name for
Developer and current date for Date Written.
// ---------------------------------------------------------------
// Programming Assignment: LAB1B
// Developer: ______________________
// Date Written: ______________________
// Purpose: Ticket Calculation Program
// ---------------------------------------------------------------
#include
using namespace std;
void main()
{
intchildTkts, adultTkts, totalTkts;
;
;
+ adultTkts;
cout
}
Step 3: Save Program
Save your program by clicking File on the menu bar and then clicking
Save Program.cpp, or by clicking the Save button on the toolbar, or Ctrl
+ S.
Step 4: Build Solution
To compile the program, click Build on the menu bar and then click the
BuildSolution or Build LabB option. You should receive no error
messages. If you see some error messages, check the code above to