Grammatical insult

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 grammatically correct insult program that it says "an" instead of "a" when the first letter of the adjective is a vowel. Test it with a variety of adjectives.

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

Turn in two screen shots of the program executing, one showing "an" the other "a", and the program 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.