Users selection and return to menu

Assignment Help Programming Languages
Reference no: EM1378909

The file below this drop, wine.txt, contains the records from a wine data file.

The 5 fields in each row are:

The wine identification number
Wine name
Type of wine (2=Sparkling, 3=Fortified, 4=Sweet, 5=White, 6=Red)
Year wine was made
Winery Number

Create a menu that will allow the user to:

List all wines by name in alphabetic order

Count all wines in each type and list all 5 types with their count

List only wines for a region year selected by the user

Provide the number of wines in a type selected by the user

Exit the program

The program should make sure that the menu always displays on a clean screen do the command necessary to satisfy the user's selection and then return to the menu (on a clean screen) continue looping until the user indicates that he/she wishes to exit the program.


Download:- wine.txt

Reference no: EM1378909

Questions Cloud

Discuss and define classical utilitarianism : Discuss and define Classical Utilitarianism and explain why, according to this view, nonhuman animals are entitled to equal moral concern.
Utilitarianism by the survival lottery concept : Assume that the everyone is given a sort of lottery number. Whenever doctors have two or more dying patients who could be saved through transplants,
Discussion on idea of morality : Moral issues are at heart of human problems and must figure prominently in solutions. It is our bleak paradox that specialized populations possess raising technological prowess
Pro life versus pro choice : Roe vs. Wade and other ongoing debates demonstrate that the question of the rights of the foetus vs. the rights of mothers is far from settled.
Users selection and return to menu : Create a menu that will allow the user to list all wines by name in alphabetic order and count all wines in each type and list all 5 types with their count
Arguments for ethical absolutism and ethical relativism : Does it seem that people are in the various stages Pre conventional level, Conventional level or a Post conventional level that Lawrence Kolberg presents?
Question about ethical approach : Regarding President Bush's space plan, and concern some have with spending billions on space when we have so many earthly difficulties.
Criticism of the romantic period : I learned that one criticism of the Romantic Period is that it is emphasis on feeling led to what some consider to be an age of subjectivity.
The divine command theory : James Rachels discuss in The Divine Command Theory that it cannot be accepted, even by religious believers, because it leads to serious doubts about the perfection of God.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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