uml - Program exit, functioncall in conditional in sequence diagrams -
the following code belongs object of class called "console".
if ( problem.success() ) { display("congratulations. solved problem using " + movecount + " moves.\n"); system.exit(0); } display(options);
how show function call problem.success() in conditional statement? should assign result temporary variable , test on variable?
also how show program exits if conditional true otherwise continues? should make note?
Comments
Post a Comment