Write a program that first defines name to be "Sam", then writes "You are wise" if the name begins with W, writes "You are intelligent" if name begins with R, and writes "You are generous" otherwise.

Of course, since Sam begins with S, the program will write "You are generous". But write the program so that it will do the right thing even after you change the line that defines name to be a different name. For example, if you change the name to "William", it should write "You are wise", without any other changes to the program. Be sure to include Execute ... %Execute.

 

    [Language: Cinnameg  Kind: program]