Please follow the instruction from this link. All the homework details are explained here. The output should exactly match the sample run. http://vlm1.uta.edu/~alex/courses/1310/homework/hw09.html.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."