Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

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.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92373549
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in Business Management

What happens when your mobile application has to perform in

What happens when your mobile application has to perform in less than ideal circumstances?

What does it mean to be engaged with your work employee

What does it mean to be engaged with your work, employee engagement or lack of engagement.

Roberto is the network administrator for an international

Roberto is the network administrator for an international law firm with offices and customers in North America, South America, Africa, and the Middle East. The lawyers frequently contact each other via e-mail, use the In ...

What type of jobsorganizations naturally fall under an

What type of jobs/organizations naturally fall under an egalitarian philosophy? Which ones may struggle with this? Is there a substitute for egalitarianism that can get some of the effect for those organizations that don ...

Digital books llc is a company that sells e-books related

Digital Books, LLC is a company that sells e-books related to career advising and professional development. Digital Books, LLC earns a yearly positive economic profit of $25,000 if it can sell 10,000 e-books. Each time, ...

How can companies prepare their managers to be successful

how can companies prepare their managers to be successful expatriates managers?

What are the differences between consumers of soda cola and

What are the differences between consumers of soda cola and those of smartphones

1 how will social learning and social networks influence

1) How will social learning and social networks influence employee expectations about learning, training, and development?

Writeexecute a sql statement that lists all twenty employee

Write/execute a SQL statement that lists all twenty employee Ids, salaries, department ID in which they work, and their department's name. If an employee is not currently assigned to a department, he/she must still be on ...

What are the characteristics of bakery industry how

What are the characteristics of bakery industry? How competitive is the landscape, etc? Any mega trends affecting the bakery industry which will affect how the BreadTalk competes?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As