| CMPSC 101 Demos | |
|
Class #1 Class #2 variables cin - using variables, declaration statements, sequential flow of control, signpost comments Class #3 special operators - modulus, incrementing operator, compound operator Class #4 Class #5 while loop
- sentinel value, flag variable, running total
Class #6 lots of easy functions - various functions Class #8 round function - rounding, compute tax, & a void functions random numbers - using the rand library function. moving on a grid - using a function that moves a player around a grid Class #9 Class #10 reading & appending - using open function, reading from one file & appending to another appending to file - reading from a file & appending to another reading & writing to files - reading from a file twice and writing to separate output files Class #12 sequential search finding max value - Class #13 |
|