Free Essay

Skank

In:

Submitted By danielblocke
Words 380
Pages 2
class Customer { private string name; private int id;

public string Name { get { return name; } set { name = value; } } public int Id { get { return id; } } public Customer(string name, int id) { this.name = name; this.id = id; } public string ToString() { string p = string.Format("{0,-6} {1,-10}\n", id, name); return p; } }
}

class GeneralBook:Book { public override DateTime findDueDate() { System.DateTime td = System.DateTime.Now; System.DateTime fb = td.AddDays(7); return fb; } public GeneralBook(string title, string authors, int catalogNo) : base(title, authors, catalogNo) { } }

}

namespace ConsoleApplication1
{
interface IRenewable { bool Renew(); }
}
private Customer[] customerArray = new Customer[5]; private Book[] bookArray = new Book[5]; private int customerId = 0; private int catalogNo = 100; public bool AddNewCustomer(string customerName) { if (customerId < customerArray.Length) { customerArray[customerId] = new Customer(customerName, ++customerId); return true; }

else { return false; } } public bool AddNewBook(string bookTitle, string bookAuthor) { if (catalogNo - 100 < bookArray.Length) { bookArray[catalogNo - 100] = new GeneralBook(bookTitle, bookAuthor, ++catalogNo); return true; } else { return false; }

} public bool AddNewBook(string bTitle, string bAuthor, int edition) { if (catalogNo - 100 < bookArray.Length) { bookArray[catalogNo - 100] = new TextBook(bTitle, bAuthor, ++catalogNo,edition); return true; } else { return false; }

} public string ToString() { string p = "Customers:\n"; for (int i = 0; i < customerId; i++) { p += customerArray[i].ToString(); } p += "Books:\n"; for (int i = 0; i < catalogNo-100; i++) { p += bookArray[i].ToString(); } return p; } public bool IssueBook(int custId, int bookCatalogNum) { if (bookCatalogNum > catalogNo || custId > customerId) { return false; } return bookArray[bookCatalogNum - 101].CheckOut(customerArray[custId - 1]); } public bool ReturnBook(int bookCatalogNum) { if (bookCatalogNum > catalogNo) { return false; } return bookArray[bookCatalogNum - 101].CheckIn(); } public bool RenewBook(int catalogNum) { try { return ((TextBook)bookArray[catalogNum - 101]).Renew(); } catch { return false; } } }
}

namespace ConsoleApplication1
{
class TextBook : Book , IRenewable { int edition; //Override the findDueDate() method in the TextBook class so that it computes and //returns a date 30 days from the date of checkout. public override DateTime findDueDate() { System.DateTime td = System.DateTime.Now; System.DateTime fb = td.AddDays(30); return fb; } public override string ToString() { string p; p = base.ToString(); p += "Edition:" + edition.ToString() ; return p; } public bool Renew() { if (this.c != null) { DateTime rr = findDueDate(); DateTime nd = rr.AddDays (15); return true; } else { return false; } } public TextBook (string title, string authors, int catalogNo,int ed):base(title, authors,catalogNo) { this.edition=ed; } }
}

Similar Documents

Free Essay

Crocodiles

...how lovely crocodiles is? To put it simply, people like crocodiles. Economic Factors Is unemployment inherently bad for an economy? Yes. We will begin by looking at the Custard-Not-Mustard model, as is standard in this case. Housing Prices crocodiles Indisputably there is a link. How can this be explained? Obviously housing prices world wide are driven entirely by crocodiles. Strong fluctuations in investor confidence have been seen over the past two financial years. Political Factors Politics was once a game featuring competitors from elite classes. Comparing crocodiles and much of what has been written of it can be like comparing crocodiles and ones own image of themselves. To quote the famous political Odysseus Skank 'The success of any political system can only truly be assessed once the fat lady has sung.' [2] Considered by many to be one of the 'Founding Fathers' of...

Words: 409 - Pages: 2

Free Essay

Gender Specific Profanity Use

...Gender Specific Profanity Use INTRODUCTION In the course of linguistics there has always been an underlying notion that males have a broader range of profanities in their arsenal opposed to females that have a more narrow knowledge and also that as individuals their of swear words differ in the presence of the same and opposite sex. Rarely are men openly expressive terms such as ‘Slut’ or ‘Bitch’ within conversation with a woman and like-wise woman follow a similar conduct with men, but when they are in a same gendered group this friction is no longer present and the use of swear words in both genders increase. It is within this notion that this survey tries to capture the context that adolescent men and woman use profanities. This assignment uses a variety of acclaimed swear words that are used in modern society in different youthful groups within Melbourne, hopefully identifying a certain culture of ‘do’s and don’ts’ in assimilation to addressing the opposite and same sex. HYPOTHESIS That males with have a greater knowledge in identifying the various swear words presented whereas females will have a more narrow understanding of the words presented. Also, that males will generally use more swear word and in a more frequent manner then females. Also that both woman and men will swear more in a same gendered group then when they are in a mixed gendered group. BACKGROUND Sociolinguistic theory and empirical research gives great detail and insights into gender based usage...

Words: 2037 - Pages: 9

Premium Essay

Essay

...An essay on The Five Levels of Maslow's Hierarchy of Needs Issues surrounding The Five Levels of Maslow's Hierarchy of Needs can never be over analysed. I really, really like The Five Levels of Maslow's Hierarchy of Needs. Indispensable to homosapians today, it is important to remember that ‘what goes up must come down.’ It still has the power to shock the over 50, obviously. Though I would rather be in bed I will now examine the primary causes of The Five Levels of Maslow's Hierarchy of Needs. Social Factors As Reflected in classical mythology society is complicated. Back when Vealinger reamarked ‘the power struggle will continue while the great tale of humanity remains untold’ [1] he shead new light on The Five Levels of Maslow's Hierarchy of Needs, allowing man to take it by the hand and understand its momentum. A child’s approach to The Five Levels of Maslow's Hierarchy of Needs is quite good. Special care must be taken when analysing such a delicate subject. On the other hand anyone that disagrees with me is an idiot. It grows stonger every day. Economic Factors Is unemployment inherently bad for an economy? Yes. We will begin by looking at the Spanish-Armada model, as is standard in this case. Oil Prices | | | | The Five Levels of Maslow's Hierarchy of Needs | It is apparent from the graph that the influence of The Five Levels of Maslow's Hierarchy of Needs is strong. What is the secret to its strength? Of course oil prices will continue to follow The...

Words: 456 - Pages: 2

Free Essay

Easy a

...English 379 March 12, 2013 In the movie easy A, a teen comedy, the main character Olive is initially presented to the viewers as the virginal and feminine high school student who dresses like the average high school student, mostly in pants, and turns out to be transformed into the sex object/pin-up girl to resemble her counterparts in the movie. One being her best friend Rhi and the other Marianne, both whom which throughout the entire movie are always in very short skirts and/or extremely revealing tops, especially Rhiannon. Nonetheless, the one normal, dressing female in the movie, Olive, is then in turn forced and presented as a skank, a whore, and a home wrecker. Although one of the central themes of the movie is the loss of virginity, there are no sex scenes and it does displays a witty, contemporary, modern day spin on Nathaniel Hawthorne's classic novel, The Scarlet Letter. Moreover, the message depicted throughout the movie is that an innocent, little white lie can get blown out of proportion and that teenagers in general are concerned of how others perceive them in their day to day lives. The movie starts off with Olive being portrayed as a virginal, down to earth, average high school student with no cares in the world but is hastily transformed into the slutty female character very commonly used throughout Hollywood films to depict females nowadays. When a little white lie about losing her virginity meant for her best friends ears only gets out of hand and...

Words: 1182 - Pages: 5

Free Essay

History Lesson 1

...Brilliant', 'Quite Good', 'What?', these are just some of the comments made recently in the press regarding history. There are many factors which influenced the development of history. While it has been acknowledged that it has an important part to play in the development of man, its influence on western cinema has not been given proper recognition. It is an unfortunate consequence of our civilizations history that history is rarely given rational consideration by the upper echelons of progressive service sector organisations, who just don't like that sort of thing. Keeping all of this in mind, in this essay I will examine the major issues. Social Factors As Reflected in classical mythology society is complicated. When Sir Bernard Chivilary said 'hounds will feast on society' [1] he created a monster which society has been attempting to tame ever since. Much has been said about the influence of the media on history. Observers claim it irons out misconceptions from our consciousness. When one is faced with people of today a central theme emerges - history is either adored or despised, it leaves no one undecided. It is intrinsically linked to adolescent inner acclimatisation. Economic Factors Derived from 'oikonomikos,' which means skilled in household management, the word economics is synonymous with history. We shall examine the Maiden-Tuesday-Lending model, a lovely model. Average Wage history The statistics make it clear that history is a major market...

Words: 432 - Pages: 2

Premium Essay

Gender Roles In American Culture

...women to be sexualized and forces men into the media’s ideal masculinity. All these three factors are intertwined. In today’s media there is an outflow of how body image, masculinity and femininity, also how gender roles should be determined. We look into the basis that in the modern age, we are predetermined to look a certain way, mainly by the media’s portrayal of what a man and women should exhibit. Subliminal messages are thrown out in our everyday life. For example, to toy Bratz force children at a young age to associate this toy with what beauty should be. Another example, young boys are forced into a vicious cycle of what a man is supposed to be. They are subjected to the media’s voice of how a man should act. “In Girls Gone Skank” The Sexulization of Girls in American Culture (2008) written by Patrice A. Opplier she drew a blueprint of how women and young girls are pushed into plastic surgery to fit in todays beauty standard. In addition, of how mass media is forcing the generation into loneliness and depression for not fitting everyday life caliber. Futhermore Erving Goffman “Gender Advertisment” (1979) he describes and gives us a visualization how feminity and masculinity are displayed in western media. Goffman analyses 500 different advertisements and photos. Finding poses, mouth, head vise body and etc. He finds the contrast of how men and women are portrayed. In different ways women are seen as soft, weak and submissive. Moreover, men are seen as Powerful...

Words: 612 - Pages: 3

Premium Essay

Samuel Bourne-Original Writing

...It appeared the neighborhood skank, who bathed on Saturdays, was ready to settle down some, a change she wasn't fighting. Sally wasn't the same girl or naughty teen hiding dirty underwear, she was cooking, doing laundry and shopping at Safeway with the wives. It was Tuesday, and her monthly visit to the doctor, so she jumped in Samuel’s car and kept her appointment, but something very disturbing was about to play into their arrangement, their marriage arrangement. Sally's blood work and lab results revealed Samuel Bourne was the child's biological father, not the sleaze bag from the trailer park. The girl next door assumed the father was her ex because of the time element, that and Sally's irresponsible habits, a habit that kept her going over to the lab results and shaking...

Words: 1919 - Pages: 8

Free Essay

Statutory Rape

...Research Paper When you look at the different states, the majority of them have the same laws for age of consent, but a few of them are different. The purpose of me researching this is because I have family members that is a Defendant of statutory rape, but in reality he is the victim. I believe he is the victim because he is the one having to sit in prison and waste his life away because of the laws in Washington State, while the Victim is out living her life and not being affected at all. The legal definition of statutory rape is: “Statutory rape generally refers to sex with a person who is under an age specified by statute. At this point, most state laws call it something else.” This particular case was reported on the twentieth day of the second month in the year of 2008. He was sentenced on the seventeenth day of the third month in the year of 2008, almost a month after sitting in the county jail. He was charged with Rape of a Child Second Degree, in Washington state this means, “A person is guilty of rape of a child in the second degree when the person has sexual intercourse with another who is at least twelve years old but less than fourteen years old and not married to the perpetrator and the perpetrator is at least thirty-six months older than the victim.” If you look at both sides of the case (Victim vs. Defendant) you might ask your self, “How does this case affect both the victim and their (in this case a girl) family, and the defendant and their (in this case...

Words: 894 - Pages: 4

Premium Essay

Women In Native American Culture

...honored men, not women in everyday life. They were also worn into battle to protect the Indians but the main occasion to wear them were ceremonies since they are considered to be highly spiritual, not for use in a fashion show. There’s a simple legacy behind many Native symbols and items that many people don’t know or understand. Besides the raw overgeneralization, Kloss’s strikingly small and suggestive leopard-print bikini represented the “savage” of Indian maidens. Native Americans do not even live in a habitat with leopards. This stereotypical representation of Native women as “easy squaws” has caused negative stereotypes as well as real world consequences. Commonly, Native American women are represented as being submissive, voluptuous skank whores. This perception of Native American women is unruly and untrue. In The Pocahontas Perplex written by Rayna Green she states, “...the Indian woman suffers from our needs, and by both race and sex stands damned.” The view of Native women in American culture is an intolerable metaphor. By perpetuating stereotypes of Native women as sexual objects, America aids the cyclical continuation of violence. Despite what dominant society and mainstream media say, stereotypes and discrimination are still ever present in the world we live in today. These stereotypes have created a distortion of how every Native individual “should be.” According to an Amnesty International study, 70% of sexual violence against Native women is committed by non-Natives...

Words: 806 - Pages: 4

Premium Essay

Jamaica Reggae Music Band

...Jamaica Reggae Music Band Makita Johnson Music of the World Prof Malfatti August 31st, 2012 Jamaica Reggae Music Band This paper will focus on the history of reggae music and focus on the group Jamaica Reggae Music Band." In the early 1960’s, a new form of music, blended from a religious movement, Rastafarian, and numerous musical influences such as rhythm and blues, rock steady, African, and ska, emerged in Jamaica and spread quickly throughout the world. The music known as reggae, defined a nation of people for decades and helped develop various musical movements worldwide. This paper discusses the history of reggae and the major artists of the art form. Further, the writer discusses how the art has changed, both in its original nation as well as how the music has been altered for American audiences. "Reggae music, born of a combination of R&B, blues, jazz, and traditional African music, and combined with a religious tradition, was unique to Jamaica at a time when the country was looking for her identity. The combination of political messages, religious connotation, and raw sound was ideal for the changing society of the time. However, to be pushed to international stardom, the music was altered and rerecorded by milder, less powerful white British artists who helped internationalize the genre. Jamaica music can be divided into several genres. The most notable genre of Jamaica music is reggae music, which incidentally it can be divided into...

Words: 1332 - Pages: 6

Premium Essay

Eth125 Appendix B

...University of Phoenix Material Appendix B Part I Define the following terms: Term | Definition | Stereotypes | The exaggerated and unreliable generalization of a group that does not take individual preferences into account. | Prejudice | A negative attitude toward an entire category of people such as racial group or ethnic minority. | Labeling theory | The view of deviance in which someone being labeled as a “deviant” leads a person to engage in deviant behavior. This theory originated by Howard Becker’s work in the 1960’s. This theory explains why people’s behavior clashes with societal norms. | Part II Select three of the identity categories below and name or describe at least 3 related stereotypes for each: * Race * Ethnicity * Religion * Gender * Sexual orientation * Age * Disability Category | Stereotype 1 | Stereotype 2 | Stereotype 3 | Religion | Bible hugger | Satan worshipper | Eternally damned | Disability | Check chaser | Stupid | Psycho | Race | Drug dealer | Thief | Bomber | Part III Answer each question in 100 to 150 words related to those stereotypes: * What are the positive aspects of the stereotypes, if any? Are there really positive aspects to stereotyping? I can’t really say for sure. I suppose it may be good to generalize those people that have a “safe feeling” to them. Christians are generally good people and appear to be trustworthy for the most part. Intuition on...

Words: 1032 - Pages: 5

Premium Essay

Dancehall

...performer with enthusiasm. Being that typical West Indian parties last all night, there was an abundance of music to be played. A few of my fellow dancers and I displayed some dance moves and event taught some of the guests how to do them. I is a wonderful feeling to see people of different ethnicities enjoying themselves, whether they understood the lyrics to the songs or not. To gain a better understanding of the rise of Dancehall music, you first have to explore the genre that led to its birth: reggae. Reggae is a long-established art form that has a huge influence on Caribbean culture and other musical styles. It was first introduced in the Jamaica in the late 1960’s which was distinguished by regular chops on the back beat, known as the skank. Reggae lyrics focused on the constant struggles people on the island were faced with. The...

Words: 1033 - Pages: 5

Premium Essay

Angry Black Women Stereotypes

...a negative connotation because all she is in the show is, “An Angry Black Woman.” This is a prime example of Helen being shown as a “Sassy Black Woman” or “Angry Black Woman.” The use of depicting Tiffany and Helen as hell raising and aggressive in the show, supports both the stereotype and what Wendy Ashley explains in her article. These two strong women are misconstrued to make them seem as more than they actually are for the means of viewing pleasure. Racial and ethnic divides are constructed from these ways in which women are described. Due to the way in which Tiffany’s footage on ANTM is used makes her shown as the attacker, it shows her as aggressive, where she in some sense is right for being upset at the fact that a drunk “local skank” spilled alcohol on her head. Helen on Drake and Josh has the right to pull out a bat in her movie theatre because along the context of the episode the two main characters were about to get jumped by the group of jocks. In both shows, the women are being “aggressive” as a form of self-defense but because they are created to be as these angry characters, it becomes a problem, it’s a sort of drama that the audience lives for. This stereotype, truly is nothing more than a stereotype, but it is dragged on for entertainment, which is the main issue at hand. Henceforth, the role of media and advertisements are what causes the persisting of racial and ethnic divisions. Television and media gives us the strong black women but use them in the same...

Words: 1657 - Pages: 7

Free Essay

Modern Racism

...The Barber Shop and Modern Racism The Barber Shop 1- I accompanied a friend of mine, Phillip, to his barber shop in his neighborhood at 49th and Prospect Avenue in Kansas City, Missouri. In this neighborhood, I was instructed by Phil to carry my legal weapon being the lone Caucasian in the predominately black/Hispanic neighborhood, due to the violence of gang activity. So after being instructed to wear neutral colors such as white or black, we went so he could get a haircut. My normally clean cut self is definitely out of my environment. We park his car in a parking lot on the corner, and he is immediately greeted by a group of 3 young dark skinned black men, in dark baggy oversized clothing with brand new flat brimmed hats and Jordan basketball shoes. They exchange a handshake and we move towards the barber shop. At this point I am observed as the outsider, from the little kids playing on the corner to the gang members selling what I can assume is crack, judging by the tweaking, raggedy, twitchy individuals dropping money off and running away. We enter the barber shop that was built in, what appears to be the mid 1950’s. Inside, is a replica of the Eddie Murphy movie, “Coming to America” except for an old Jewish man there is a surprisingly, a 65 year old Asian man named Han sitting in the corner. There are 3 black barbers who address myself as cracker when I enter with phil. There are photos of famous, powerful African Americans on the wall. Dr. King, Henry Aaron...

Words: 1626 - Pages: 7

Premium Essay

Creative Writing: Answering To The Homeless

...This is the 1895 N.E. and it is the frost. The new era divides the people into classes, tiger which are the rich and government leaders, vipers, which are the soldiers, the leopard are the poor, and the hyenas are the homeless, (I know ironic name because they are the scavengers of the wasteland just out of town) and last the underground, more secret class, the hybrids, and we are the rebels, we are constantly trying to take down this hell they call a city. I am part of two classes, the hyenas because I am homeless and the hybrids because I am a rebel but that is not the main part of this story I am going to tell I wasn’t always like this not always so outgoing and open it was only a month ago that I was a street skank. These are the people that are almost gone. I have grown up an orphan because my dang folks abandoned me on the steps of the madhouse. Just for putting me...

Words: 2466 - Pages: 10