Conditional age comparison

This assignment tests your ability to write programs with conditional execution. Begin by carefully studying our notes on If...Then statements and If...Then...Else statements.

When you thoroughly understand the notes and examples, write a program that does exactly what this age comparison program does. Be sure to pay attention to the clearing of the old results when the user enters new data. Don't forget they may both be the same age.

You might find it helpful to make a flowchart of the program before writing it.

Turn in three screen shots illustrating the three possible outcomes along with a listing of the program.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.