Ask Question

Student Line Up A teacher has asked all her students to line up single file according to their first name. For example, in one class Amy will be at the front of the line and Yolanda will be at the end. Write a program that prompts the user to enter the number of students in the class, then loops to read that many names. Once all the names have been read it reports which student would be at the front of the line and which one would be at the end of the line. You may assume that no two students have the same name. Input Validation: Do not accept a number less than 1 or greater than 25 for the number of students.

+4
Answers (1)
  1. 8 November, 17:19
    0
    cocoa in lookslamaoo
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Student Line Up A teacher has asked all her students to line up single file according to their first name. For example, in one class Amy ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers