Displaying a menu to allow the teacher to choose

Assignment Help Business Management
Reference no: EM131564832

Overview

A teacher has asked you to make a program that will allow her to store all of the names of her students in each of her classes. She would like to be able to enter a list of students in different files and later display various student lists from the file.

Instructions

For this programming challenge, you will provide a program to the teacher with the following functionalities:

  1. The program should start by displaying a menu to allow the teacher to choose whether to create a new class list, display a present class list, or exit the program.
  2. If the teacher chooses to create a new class list, the program should also prompt the teacher to enter a filename in which to store the new class list.
  3. The program should then allow the teacher to enter the number of students in the class, then loops to read that many names.
  4. Those names should then be written to a file with the filename provided by the teacher.
  5. A message should also be displayed if the file was successfully saved and then return the user to the menu.
  6. If the teacher chooses to view a present class list, the program should prompt the teacher for the filename of the student list she would like to view.
  7. The program should then open that file to read all of the student's names into array.
  8. Prior to displaying the names, you must short the names in the array and then display them in alphabetical order.
  9. 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.

Reference no: EM131564832

Questions Cloud

Discuss the types of detection and prevention technology : Discuss the types of detection and prevention technology available, specifically the use of firewalls and intrusion detection software, to protect ones wireless
History and evolution of information security : Share your findings from your Internet and library research on the history of the information security profession.
What does slope of the estimated regression line indicate : What does the slope of the estimated regression line indicate? If the company's advertising expenditure is $400,000, what are the predicted sales?
Explain hamlet character : A Man Who Could Not Make Up His Mind. At the beginning of our Hamlet study
Displaying a menu to allow the teacher to choose : The program should start by displaying a menu to allow the teacher to choose whether to create a new class list, display a present class list.
How has demand grown in the last hundred years : How has demand grown in the last 100 years? Is our system currently capable of keeping up with demand or do we have too many shortages to remain effective?
Reads positive integers from standard input : Write loop that reads positive integers from standard input, printing out those values that are greater than 100, each followed by a space
Develop and commercialize the idea : Define the resources needed. What will be needed to develop and commercialize the idea? How much money will it cost? How much time will it take?
Contactless chip transaction from a cardholder point of view : 1. Explain the differences between contact chip and contactless chip transaction from a cardholder point of view.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd