- 1order.cpp Puts two numbers into increasing order
- 2largest3.cpp Finds the largest value of three numbers.
- 2rand_order.cpp Puts three numbers entered by the user or chosen at random (by using the -r option) into increasing order.
- 3sign.cpp Determines the sign of an integer
- 4signindent.cpp Determines the sign of an integer,
different indentation
- 5largest3.cpp Finds the largest value of three numbers.
demonstrates the use of conditional assignment
- 6vowelsif.cpp prints if the character input is a vowel,
uses if-construct
- 7switchtest.cpp Demonstrate a SWITCH statement
- 8vowelsswitch.cpp prints if the character input is a vowel using SWITCH
- 9toll.cpp calculates toll to be paid depending on the vehicle class
- Makefile # default makefile