Mission to the Moon This program computes the length of a mission to take photographs around the Moon given the time it takes to get there and to go around the Moon once.
The Fuel Tank Program A program that monitors the amount of fuel in a tank and gives a warning if the supply falls below 10% of the tank's capacity.
Simple Countdown Using a for Loop A program that displays all the numbers between 60 and 0 and then prints the word LIFTOFF afterwards.
Sums and Averages A program that computes the average of all the numbers in a file of integers.
Input Validation Loop (do-while Loop) The best use of a do-while loop: An input validation loop. This program validates that the color entered is a valid traffic light color.