283,693 views
15 votes
15 votes
Create a flowchart that assigns a counselor to a student. You need to ask a student for the first letter of his/her last name. Assign a counselor based on the following criteria:

• A through Mare assigned to Ms. Jones
• N through Z are assigned to Mr. Sanchez ​

User Mithrop
by
3.3k points

2 Answers

15 votes
15 votes

Flowchart for Assigning Counselor to Student based on Last Name Initial:

[Start] -> [Ask for the first letter of the last name]

|

V

[Is Last Name Initial A-M?]

|

|------ YES -----> [Assign Ms. Jones as the Counselor]

| |

| V

|------ NO ----> [Assign Mr. Sanchez as the Counselor]

|

V

[End]

Step-by-step explanation:

The flowchart starts by asking the student for the first letter of their last name.

If the initial is between A and M (inclusive), it directs to assigning Ms. Jones as the counselor.

If the initial is from N to Z (inclusive), it directs to assigning Mr. Sanchez as the counselor.

Finally, the flowchart ends after the counselor assignment is made.

Create a flowchart that assigns a counselor to a student. You need to ask a student-example-1
User Sashkins
by
2.5k points
17 votes
17 votes

Answer:

See attachment for flowchart

Step-by-step explanation:

The explanation is as follows:

Start

Input first_letter (of student's name)

If first_letter is any of N through Z

Assign student to Mr. Sanchez

Else

Assign student to Ms. Jones

Print Counselor

Stop

Create a flowchart that assigns a counselor to a student. You need to ask a student-example-1
User Aroon
by
2.8k points