Jake Caudle
Lab 1
August 30, 2015
CS 1113 Introduction to Computing
Exercise 1.1
1.
2.
3.
4.
Ask question Do you have a zero balance on your bill?
Input answer yes or no
If answer is no then send students to the hall 18 Go to Hall 18
If the answer is yes
Jake Caudle
Lab 2
September 8, 2015
CS 1113 Introduction to Computing
Exercise 2.1
A) x -= 4*5;
B) x %= 16/2;
C) x /= 18%4;
(4)
(6)
(-8)
Exercise 2.2
/ Lab2_1.cpp - This program asks for an age and displays the cost of
the ticket
#include <iostream>
using
Jake Caudle
Lab 3
September 16, 2015
CS 1113 Introduction to Computing
Exercise 3.1
The difference between H and I is that H has the division by 0 first
in the operator which causes the run time error whereas I the division
by 0 is in the second part of t
Jake Caudle worked with Josh Rhodius
Lab 4
September 25, 2015
CS 1113 Introduction to Computing
Exercise 4.1
/ Lab4_1.cpp This C+ program computes the value of a to the power of b (a^b) for three cases.
#include <iostream>
#include <cmath>
using namespace
CS 1113 INTRODUCTION TO COMPUTING
Instructor: Dr. Tim Gilmour
FALL 2015 SYLLABUS
Office: BTC 104
Phone: (479) 524-7319
TIME/PLACE:
M,W,F 3:00pm-3:50pm WSC223 (Walker)
E-mail: tgilmour@jbu.edu
TEXTBOOK:
Problem Solving with C+, 9th Edition, Walter Savitch,