ENSC 104: DIGITAL COMPUTER PROGRAMMING

HOMEWORK



Homework Policies

 


 

Hwk # Problems Assigned Date Due
1 Hwk1 31 Aug 7 Sep 
2 Ex1-1, Ex1-2, Ex1-3 7 Sep 14 Sep
3 Ex2-1, Ex2-4 14 Sep 21 Sep
4 Hwk4 21 Sep 28 Sep
5 Hwk5 28 Sep 5 Oct
6 None 5 Oct 12 Oct
7 Ex3-3 12 Oct 19 Oct
8 Ex3-1 19 Oct 26 Oct
8.5 Exam #3 C++ Pgrm 9 Nov 14 Nov
9 Ex 3-2 9 Nov 16 Nov
10   16 Nov 21 Nov
11   21 Nov 30 Nov
12   30 Nov 7 Dec

 


Homework #1:  

Write a program that displays the following output:

     *********          ***           *             *
     *       *         *   *         ***           * *
     *       *        *     *       *****         *   *
     *       *        *     *         *          *     *
     *       *        *     *         *         *       *
     *       *        *     *         *          *     *
     *       *        *     *         *           *   *
     *       *         *   *          *            * *
     *********          ***           *             *


Homework #4:  

Write a program that reads in three integers and determines the smallest
and largest integers and then prints out these values. For example, if 
the user enters: 10 20 30, your output should be:
     Largest: 30
     Smallest: 10

Homework #5:  

Write a program that prompts the user to enter a five digit integer, 
reads the integer and echoes its value back out. Then the program will 
strip off the right most digits printing them out each on a 
separate line. For example,
	Enter an integer: 25431
The output should be:
	You entered: 25431
			1
			3
			4
			5
			2