devin-huff
Uploaded by
4 SLIDES
196 VIEWS
40LIKES

CSCI 1411 Lab 4: Conditional Statements and Programming Assignments

DESCRIPTION

In Lab 4 of CSCI 1411, students engage with conditional statements, exploring relational operators and the if, else if, and switch statements. Students will modify and submit source files including `initialize.cpp`, `grades.cpp`, `LogicalOp.cpp`, and `switch.cpp` after completing predefined exercises. Additionally, students will choose one programming assignment from options like Water Bill, T-shirt Shop, or Tuition, implementing it without a design document but with proper code comments to enhance readability.

1 / 4

Download Presentation

CSCI 1411 Lab 4: Conditional Statements and Programming Assignments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSCI-1411 Fundamentals of Computing Lab Shane Transue Spring 2014

  2. Lab 4: Conditional Statements • 4.1 Relational Operators and the ifstatement • initialize.cpp • Submit source file after exercise 4 modifications • 4.2 if/else if Statements • grades.cpp • Submit source file after exercise 3 modifications • Answer the exercise 3 question • 4.3 Logical Operators • LogicalOp.cpp • Refer to the source code to answer the questions from exercises

  3. Lab 4: Conditional Statements • 4.4 The switchStatement • switch.cpp • Answer the question to exercise 3 • 4.5 Choose one of the available 3 programming assignments to implement • Option 1: Water Bill • waterbill.cpp • Option 2: T-shirt shop • tshirt.cpp • Option 3: Tuition • tuition.cpp • No design document, but should be properly commented

  4. Lab 4: Conditional Statements • Lab-4 Submission: • initialize.cpp • grades.cpp • LogicalOp.cpp • switch.cpp • One of the following: • waterbill.cpp • tshirt.cpp • tuition.cpp

More Related