Instructions for Lab-14 CS-139, Sections 3 & 4 Fall 2001.

Slides:



Advertisements
Similar presentations
Information System Analysis
Advertisements

SW388R7 Data Analysis & Computers II Slide 1 Solving Problems in SPSS The data sets Options for variable lists in statistical procedures Options for variable.
1 Lab Session-6 CSIT-121 Spring 2005 Structured Choice The do~While Loop Lab Exercises.
1 Lab Session-3 CSIT 121 Fall 2004 Section-3 should finish Lab-1 Exercise first Division rules Operator precedence rules Lab Exercise.
Discounts An explanation of discounts and the implications to tax.
Medicare Supplemental Insurance 101 A brief overview of Medicare Supplemental Insurance and how it works. Agentlink Senior Brokerage Created 4/14/2014.
Ordinary Tax Rates for Single Filing Status [Tax Rate Schedule X, Internal Revenue Code section 1(c)]Single Filing Status If taxable Income is:abcde Over.
CHAPTER 4: CONDITIONAL STRUCTURES Introduction to Computer Science Using Ruby (c) 2012 Ophir Frieder et al.
Sales Tax, Discounts, and Commissions Section 6.7.
Lab 10 Experiment 21 Design a Traffic Arrow. Just so it is clear This is it. – Last official experiment for the semester. It is your option as to whether.
© The McGraw-Hill Companies, 2006 Chapter 2 Selection.
CS 151  What does the full truth table look like? InputsOutputs D3D3 D2D2 D1D1 D0D0 A1A1 A0A0 V 0000XX
CS 232: Computer Architecture II Prof. Laxmikant (Sanjay) Kale.
© The McGraw-Hill Companies, 2006 Chapter 3 Iteration.
SW388R7 Data Analysis & Computers II Slide 1 Solving Homework Problems in SPSS The data sets Options for variable lists in statistical procedures Options.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
How to fill out the Parent’s Financial Statement Section 6 – Dependent Information.
Stale Curve Query Tool Input Screen 0 – 2 Years 2 – 5 Years 5 + Years Book Type # of Stale % of Total Average Curve Code Portfolio Code Ref. Months.
Gravity Control™: Is the simplest system for complex data search and management Introduces a new generation graphic user interface Handles large amounts.
I Travel Booking Training
How to Format a TA © 2016 Brigham Young University–Idaho.
Pseudocode Key Revision Points.
Health Savings Account Claim Examples * Single Coverage
Exercise : Write a program that print the final price of purchase at a store where everything costs exactly one dollar. Ask for the number of items purchased.
How To Get Cheap Economy Flights
Tips for Finding a Cheap Flight
Format of Meeting Information about the DofE Award nationally
Important Conversations
The Least Restrictive Environment
Logic Gates.
My Theatre Model Name: Change the design of this presentation if you want.
Standard 1 Understand the fundamental concepts relevant to the development of a market economy SS.912.E.1.8 Explain ways firms engage in price and nonprice.
You Are The Specialist Designed by: Kelly Stortz, Norma Oxford and Stephanie Hudson.
ECE 1304 Introduction to Electrical and Computer Engineering
MACROECONOMICS: EXPLORE & APPLY by Ayers and Collinge
PROJECT 7 SPREADSHEETS WITH DATA CAPTURE—MINIVAN EXAMPLE
Institutions and Audiences Film Industry Mock Exam Question
UNIT-IV - PRODUCT PRICING Dual Pricing
9 Advantages of Online Discount Deals and Promotional Offers
Activity: Design a full page travel poster for either a US or Canada city. Include: At least two hand-drawn images of physical features of the city A.
Maury County Public Schools
COMMISSIONED TRICS SURVEYS & THE TRICS BUREAU SERVICE – AN UPDATE
Children in Instructional Settings – final policy language
UNIT-IV - PRODUCT PRICING Price Discrimination
Bringing up a child in the 21st century
Bringing up a child in the 21st century
Applied Operating System Concepts
KLM Airlines Reservation Number Customer Service
Planning a vacation, on a budget
More Selections BIS1523 – Lecture 9.
09 Calculation
Wednesday 5/17 – Friday 5/19: UNIT 4 WORK DAYS
either inequality true
Control Structure Senior Lecturer
Number Systems and Circuits for Addition
Dr. Clincy Professor of CS
KLM Airlines reservations phone number KLM Airlines reservations phone number is required if you have plans for a smoother and pleasant trip. KLM Airlines.
Objectives: applications of linear systems Standards: 2.2, 2.5, 2.8
Tracking the Performance of your Holdings
CS 206D Computer Organization
Bringing up a child in the 21st century
Exceptionality and Special Education
Using screens and adding two numbers - addda.cbl
CHAPTER 4: Conditional Structures
Half & Full Subtractor Half Subtractor Full Subtractor.
WJEC GCSE Computer Science
Half & Full Subtractor Half Subtractor Full Subtractor.
Parallel execution Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
2015 Amendments to IC 2-7 Charles W. Harris, JD
Kuwait Airways Book Kuwait Airways Flights ✈ now from Alternative Airlines. More Choice & Better Prices. Travel on kuwait airways with flyin ✈ Book tickets.
Presentation transcript:

Instructions for Lab-14 CS-139, Sections 3 & 4 Fall 2001

Lab-14 Write a program that performs the following operations: Queries a traveler for ticket purchase Lake Woebegone, Minnesota to Oshkosh, Wisconsin: which class does traveler want to fly? Choices are First Class, Business Class, Tourist Class. Traveler has the option of bringing a spouse in the same class. Spouse’s ticket is half price. Traveler + Spouse can also bring either one child under the age of three at no charge, and one child under the age of ten at 1/3 the price of Traveler’s ticket, or two children under the age of ten at 1/3 each. Both types of children’s discounts are available either in First Class or in Tourist, but NOT in Business Class. Additional children will also be accommodated, but at full price. Prices for first traveler are: $1,200 (first class), $800 (business class), $600 (tourist class). (continued)

Lab-14 (continued) Output total price. Make all messages nice. Use at least one “switch” statement, in such a way as to demonstrate the various capabilities of the facility as shown in class. Use a separate procedure to query input, and a separate procedure to generate final output.