Project Insomnia is many things, but in this context it is simply a "braindump" of whatever I happen to be thinking/reading/watching/doing at the moment. Parental guidance suggested.
The program starts with a Title. It is followed by the introduction of characters participating in the play. Hence in the program, we can deal with two characters - Romeo and Juliet. The two characters are initialized to zero by the compiler.I know how I'm writing my next project, to be sure.
The play consists of a single act and a single play. In the scene we take the two characters on the stage. First Juliet speaks, to read the first integer value. It is stored in Romeo. Then it is Romeo's turn. He starts with a praise which stores the value 4 in Juliet (simply, to add beauty to the program). Then the second value is read and stored in Juliet. Juliet ends the conversation by storing the sum of first and second value in Romeo. It is displayed.
"Project Insomnia" and "project-insomnia.com" ™ & SM; site contents © Andrew Rich except where noted.