To add some simple operations to your model, you
can use the following statements:
- These
increment/decrement operators provide standard
functions:
- X++; (Increment X)
- X--; (Decrement X)
- X=X+5; (Add
5 to X)
- To print out on the screen,
use one of these statements:
- cout <<
"hello" << endl;
- cout << attribute_name <<
endl;
- cout << "hello : " <<
attribute_name << endl;