PROGRAMMING ASSIGNMENT #4
Write a C program that allows the user to make some simple banking
transactions.
The program should first prompt the user to enter the current balance of his/her
bank account (in dollars and cents, not less than zero). The progra
if . "else if" . "else if" . "else if" . "else if" . else
Recall from Week 5, we covered two of the four selection structures:
The "if" selection structure
The "else" selection structure
This week, we will cover the other two selection structures:
The "el
UMass Lowell Computer Science 91 500
91.500
Fundamentals of Computer Science
Prof. Karen Daniels
f
i l
Fall, 2013
Lecture 1
Introduction/Overview
I t d ti /O
i
Thursday 9/5/2013
Web
W
Web Page eb Page
http:/www.cs.uml.edu/ kdaniels/courses/500_F13.html
ht
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 7
Assigned: Thursday, 11/7
Due: Thursday, 11/14 (start of lecture)
This assignment covers textbook material in Chapter 7:
Discrete Probability
Note: Refer to course we
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 8
Assigned: Thursday, 11/21
Due: Tuesday, 12/3 (start of lecture)
This assignment covers textbook material in Chapter 8:
Advanced Counting Techniques
Note: Refer to co
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 9
Assigned: Tuesday, 12/3
Due: Tuesday, 12/10 (start of lecture)
This assignment covers textbook material in Sections 9.1 9.2:
Relations
Note: Refer to course web site
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 5
Assigned: Tuesday, 10/8
Due: Tuesday, 10/15 (start of lecture)
This assignment covers textbook material in Chapter 5:
Induction and Recursion
Note: Refer to course w
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set #1
Assigned: Thursday, 9/5
Due: Thursday, 9/12 (start of lecture)
This assignment covers textbook material in Chapter 1:
The Foundations: Logic and Proofs
Note: Refer to
UMass Lowell Computer Science 91.503
Analysis of Algorithms
Prof. Karen Daniels
Spring, 2012
i
Tuesday,
Tuesday, 17 April
NumberNumber-Theoretic Algorithms
Chapter 31
Overview
Motivation: RSA
M i i
Basics
Euclids GCD Algorithm
Chinese Remainder Theorem
Po
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 6
Assigned: Tuesday, 10/29
Due: Thursday, 11/7 (start of lecture)
This assignment covers textbook material in Chapter 6:
Counting
Note: Refer to course web site for ho
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 4
Assigned: Thursday, 9/26
Due: Thursday, 10/3 (start of lecture)
This assignment covers textbook material in Chapter 4:
Number Theory and Cryptography
Note: Refer to
UML CS
Fundamentals of Computer Science: 91.500 (section 201)
Fall, 2013
Homework Set # 3
Assigned: Thursday, 9/19
Due: Thursday, 9/26 (start of lecture)
This assignment covers textbook material in Chapter 3:
Algorithms
Note: Refer to course web site for