Conditional, If...Then

This assignment tests your ability to write programs using If...Then statements. Begin by carefully studying our note on the If...Then statement.

When you thoroughly understand it, write a program that does exactly what this friendly program does. Be sure to test your program and mine with a variety of inputs to be sure they do the same thing in all cases.

Use If...Then, not If...Then...Else for this assignment.

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

Turn in a screen shot of the program executing and its listing.


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.