DEVRY CIS 170 Entire CourseDEVRY CIS 170 Entire Course DEVRY CIS 170 C iLab 1 of 7 Getting Started | Page 3

CIS170C - Programming using C ++ Hello , World - Step 5 : 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 6 : Build Solution To compile the program , click Build on the menu bar and then click the BuildSolution or Build LabA option . You should receive no error messages . If you see some error messages , check the code above to make sure you didn ' t key in something wrong . Once you make your corrections to the code , go ahead and click Build >> Build Solution again . Step 7 : Execute the Program Once you have no syntax errors , to execute or run your program , click Debug on the menu bar , and then click Start Without Debugging . Step 8 : Capture the Output Print a picture of your screen output . ( Do a print screen and paste this into MS Word .) Step 9 : Print the Source Code Copy your source code and paste it into the same Word document as your screen print . Save the Word Document as Lab01A _ LastName _ FirstInitial Note : Using the Visual Studio editor to compile your programs creates a lot of overhead . These additional files will become important as you 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 ;