SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 2 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 14 Nov 2017 My Price 8.00

students in different files and later display various student lists

***IN C++

 

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.

Answers

(5)
Status NEW Posted 14 Nov 2017 04:11 PM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)