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
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.
|