Nassi_Schneiderman Flowchart help please!
So my teacher never taught us how to draw a Nassi-Schneiderman Flowchart, and I have attached what I have done (but I'm not sure if it is correct). This is the code for the flowchart:
inFile >> id >> name >> sex >> exam1 >> exam2 >> exam3;
avg = (exam1 + exam2 + exam3)/3;
outFile << "~*< Exam AVG Report >*~" << endl << endl;
outFile << "Name: " << name << " " << "Id: " << id << " " << "Sex: " << sex << endl << endl;
outFile << "Exam1 = " << exam1 << endl;
outFile << "Exam2 = " << exam2 << endl;
outFile << "Exam3 = " << exam3 << endl << endl;
outFile << "AVG Of Exams = " << (exam1 + exam2 + exam3)/3 << endl << endl;
outFile << "~ end ~" << endl;
My problem is the second "outFile" line. I am not sure how to correctly add "Name: ", "Id: ", and "Sex: " in the flowchart, as the output for this is all on one line. Could someone tell me if my attached picture is correct, or how I can correctly make this flowchart with these outputs on one line?? Any help would be GREATLY appreciated. Thank you!!