CS 121 Lab 6
In this lab, we will practice for loop. The code is due before midnight on 10/19/2010 for CS121A and
10/21/2010 for CS121B.
Before coming to the lab session, write an algorithm to solve the calendar problem
CS 121 Lab 7
Programmer Defined Functions
In this lab, we will define our own function and use it to solve a graphics problem. The code is due before
midnight on 10/26/2010 for CS121A and 10/28/2010 for CS121B.
Read the following explanat
CS 121 Lab 8
function in C+
In this lab, we will learn how to use rand() function provided in C+. As a case study, a dice game will be
coded. The code is due before midnight on 11/02/2010 for CS121A and 11/04/2010 for CS121B.
CS 121 Lab 9
Call by reference in C+
Call by reference method in C+ functions allows us to return multiple values from the function to the
caller. In this lab, we will practice call by reference, in addition to the call by value approach we have