CIS170C All Assignments CIS170C All Assignments | Page 13

Else If first number is greater than second number Assign second number to smallest Else Assign first number to smallest End-If Display smallest number End-If Step 3: Create a New Project Create a new project and name it LAB2A. Write your code using the processing logic in Part A, Step 2. Step 4: 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 5: Build Solution To compile the program, click Debug and then Build solution (F7). 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 6: Execute the Program