Premium Essay

Hello

In:

Submitted By zulfiqqar
Words 392
Pages 2
package person; public class Person {

String name; String gender; double age; double income;

} package person;

import java.util.Scanner;

public class Survey { Person[] p = new Person[3];

private double avgIncome; private double genderMF; private double avgAge; private double sort;

public double avgIncome(){ return avgIncome;
}
public void getavgIncome(double avgIncome){ double getavgIncome = 0; for (int i = 0; i < 3-1; i++){ getavgIncome++; System.out.println(getavgIncome); }
}

public void genderMF(){ int male = 0; int female = 0; for (int i=0; i<3; i++){ if (p[i].gender.equals("male")) male++; else female++; } System.out.println("The number of male is : " + male); System.out.println("The number of female is : " + female); }

public double avgAge(){ double total=0; for (int i = 0;i<3; i++){ total = total + p[i].age; } return (total/3);
}

void sort() { double tempIN; double tempAG; String tempNM; String tempGN; for(int i=0; i > 3-1; i++){ //for pass for(int j=1; j > 3-i; j++){ // for comparison if(p[j-1].income > p[j].income){ tempIN = p[j-1].income; p[j-1].income = p[j].income; p[j].income = tempIN; tempAG = p[j-1].age; p[j-1].age = p[j].age; p[j].age = tempAG; tempNM = p[j-1].name; p[j-1].name = p[j].name; p[j].name = tempNM; tempGN = p[j-1].gender; p[j-1].gender = p[j].gender; p[j].gender = tempGN; } } }
}
public void store(){ Scanner a = new Scanner(System.in); Survey b[] = new Survey[3]; for(int e = 0; e < b.length; e++){ p[e] = new Person(); System.out.println("Please enter your name : "); p[e].name = a.next(); System.out.println("Please enter your age : "); p[e].age = a.nextDouble(); System.out.println("Please enter your gender (Male/Female) : "); p[e].gender = a.next(); System.out.println("Please enter your income : RM "); p[e].income =

Similar Documents

Premium Essay

Hello

...hi For other uses, see Hello (disambiguation). "Hallo" redirects here. For other uses, see Hallo (disambiguation). Hello is a salutation or greeting in the English language. It is attested in writing as early as the 1860s.[1] Contents   [hide]  * 1 First use * 2 Etymology * 2.1 Telephone * 2.2 Hullo * 2.3 Hallo and hollo * 2.4 Cognates * 3 "Hello, World" computer program * 4 The Apple DOS HELLO program * 5 Perception of "Hello" in other nations * 6 See also * 7 References * 8 External links ------------------------------------------------- First use Hello, with that spelling, was used in publications as early as 1833. These include an 1833 American book called The Sketches and Eccentricities of Col. David Crockett, of West Tennessee,[2] which was reprinted that same year in The London Literary Gazette.[3] The word was extensively used in literature by the 1860s.[4] ------------------------------------------------- Etymology According to the Oxford English Dictionary, hello is an alteration of hallo, hollo,[5] which came from Old High German "halâ, holâ, emphatic imperative of halôn, holôn to fetch, used especially in hailing a ferryman."[6] It also connects the development of hello to the influence of an earlier form, holla, whose origin is in the French holà (roughly, 'whoa there!', from French là 'there').[7] As in addition to hello,halloo,[8] hallo, hollo, hullo and (rarely) hillo also exist as variants...

Words: 698 - Pages: 3

Premium Essay

Hello Kitty and Dear Daniel - Why They Appeal to Such Broad Segments in Asia.

...Happy Meal promotion by McDonalds in Singapore in 2000 where McD’s customers could buy a Hello Kitty or Dear Daniel doll for $2.60 Singapore dollars caused such a frenzy (and a ruckus too) that it has caught the interest of both the media, global marketers and academics alike. In the end, this Hello Kitty McToy promotion increased the interest and sales for McDonalds; but with a different consumer; and not the intended target group - the prepubescent girls and boys! The reasons for this unexpected and overwhelming appeal for this McToy campaign in Singapore and the rest of Asia can be postulated to the following. They are however divided into two categories – the first covering the Asiatic region in general; and secondly, specifically to the Singapore market only: A) Across Asia: i. The Growth, Charge and Impact of the Kawaii Concept: Kawaii is a key concept that characterizes the modern Japanese culture. Literary translated as “cute” in English or figuratively as “things that are desired”, this culture originated with the 15 to 18 year old girls in Japan. Soon, marketers and advertisers in the fashion, publishing and the cute-little-gadgets industries recognizing the wide potential and appeal of this niche segment began to leverage on it. As this market segment is typified by the characteristic “not how much they spend” but “it’s that they all buy the same things”, hot items (like Hello Kitty) when caught by the wave can easily reach 100% market penetration in weeks! In...

Words: 1349 - Pages: 6

Premium Essay

Wahooo

...meep blah blooop meep meep merrp merp hello hello hello hello heloo heloo hello hello hello hello hello hello hello my name I hello my name is hello my name is hello my name s hello my name is hello Helen erin jack fan fran san fran sisco Italy new york las angeles hello I hate English this is not fun yes it is not fun this sucks a lot yes it does I do not like this at all this smells like farts yes it does cuz English is a piece of poo and I hate it so much I would rather do math than this is hate this thank god im almost done with English this year meep blah blooop meep meep merrp merp hello hello hello hello heloo heloo hello hello hello hello hello hello hello my name I hello my name is hello my name is hello my name s hello my name is hello Helen erin jack fan fran san fran sisco Italy new york las angeles hello I hate English this is not fun yes it is not fun this sucks a lot yes it does I do not like this at all this smells like farts yes it does cuz English is a piece of poo and I hate it so much I would rather do math than this is hate this thank god im almost done with English this year meep blah blooop meep meep merrp merp hello hello hello hello heloo heloo hello hello hello hello hello hello hello my name I hello my name is hello my name is hello my name s hello my name is hello Helen erin jack fan fran san fran sisco Italy new york las angeles hello I hate English this is not fun yes it is not fun this sucks a lot yes it does I do not like this at all...

Words: 595 - Pages: 3

Free Essay

Sanrio Proyect

...franchisee’s stores with licensing or wholesale, we can say that the power of supplier brand its low inside the Sanrio factories around the world but high for the different stores that sell Sanrio Inc. products. The company is not limited to character promotion through their products but also through publishing and movie productions. The company also partners with various food establishments of which it also shares franchises. Sanrio has rights to Peanuts characters in Japan and owns an animatronics establishment known as the Kokoro Company, Ltd. whose most popular android is known as Actroid. Taiwan's second largest airlines, Eva Air, decided in October 2005 to use the Hello Kitty brand on flight routes between Taipei, Tokyo and Fukuoka. By paying Sanrio a franchisee fee, Eva Air has dedicated an entire Airbus A300-200 to the Hello Kitty brand and its cutie-like universe. The Power of Buyers The power of buyers is high. Since Sanrio Inc. produces its owns products, the potential buyers are franchisee stores. Inside these ones the main buyers are women from all ages and also men that buy items for women or for...

Words: 642 - Pages: 3

Premium Essay

Arts2213 Literature Review

...Japanese popular culture has been around for many years and is the leading wave of Asian popular culture. It includes a variety of media such as manga, anime, film and music. Japanese popular culture is also portrayed through physical forms such as products, celebrities, personalities, maid cafes and may others. SMAP is a Jpop boy band with immense popularity from Japan and is one form of Japanese popular culture. Darling-Wolf suggests that SMAP's popularity is due to its careful construction of appeal and masculinity. SMAP is not well-known for their talents in singing, but rather for depicting Japanese personalities. Darling-Wolf refers to SMAP members as 'life-sized' pop idols (Aoyagi) who personifies a typical Japanese boy or girl which allows audiences to relate to them well. This is supported by Yano's research which highlights that fans form emotional bonds and connections with celebrities due to their charisma and personalities. Darling-Wolf that SMAP is popular is due to its intertextuality from appearing in TV shows, movies, talk shows and many more media forms which allows fans to feel a proximity or closeness. Intertextuality allows SMAP to be able to portray their personalities better and reach out to more audiences, which enables them to connect with their audience. Darling-Wolf argues that SMAP's fame is highly due to its constructed appeal of masculinity, which creates the 'perfect female fantasy'. SMAP members portray pluralities of masculinities which involve...

Words: 1243 - Pages: 5

Premium Essay

Mar Comm

...1. Introduction In 2014, Hello Kitty will be celebrating its 40th birthday. And to celebrate this milestone, on 18th April 2014, McDonald’s Singapore announced that they will once again collaborate with Sanrio to launch a set of six Hello Kitty dolls named as Hello Kitty Bubbly World. In this latest series of collaboration, Hello Kitty will be dressed up as six of her friends. And they are, ‘Pompompurin’, ‘Osaru No Monichi’, ‘My Melody’, ‘Kerokerokeroppi’, ‘Bad Badtz-Maru’, and ‘Tuxedo Sam’. And furthermore, it is also announced that Singapore will be the first in the world to launch the Hello Kitty Bubbly World. 1.1 Target Audience In this new collaboration, the target audiences are, the toy collectors and fans of Hello Kitty. 1.2 Main Objective The main objective of this new collaboration is not only to celebrate Hello Kitty’s 40th Anniversary, but it is also aim to push the sales of McDonald’s Singapore. In doing so, both Sanrio and McDonald’s have employed the co-branding strategy. However, unlike previous years, where the plush toys are made available over the counter and delivery, for the first time, McDonald’s Singapore will introduce the online order system, partnering Singpost. In doing so, McDonald’s Singapore aim to decrease the amount of people queuing overnight for the plush toys and also the fracas that happened in the previous collaboration. The aim of this essay is to analyze the marketing communication effort of McDonald’s Singapore. 2. Pre-Launch...

Words: 1984 - Pages: 8

Free Essay

Final Marketing Plan

...MAN105- Principles of Marketing Final Marketing Plan December 12, 2010 Company: Sanrio Co. Ltd. I. Executive summary Hello Kitty was the name of a cartoon cat developed in 1974 by Sanrio Co. Ltd. (Sanrio), a Japanese company that sold character-branded goods in Japan and other parts of the world. Sanrio initially used the character to adorn petty merchandise like coin purses and pencil boxes targeted at small girls. However, after Hello Kitty became hugely popular, Sanrio extended the brand to a variety of other products. Sanrio Company, Ltd., based in Tokyo and with distribution throughout Japan and Southeast Asia, the Americas and Europe. In the Americas today, over 4,000 stores to sell Sanrio character merchandise. This includes Sanrio boutique stores Sanrio merchandise has many different kinds of categories including stationery, school supplies, bags, accessories, room décor, candy, and plush characters. The global toys and games market grew by 2.7% in 2008 to reach a value of $60.8 billion. In 2013, the global toys and games market is forecast to have a value of $69.1 billion, an increase of 13.7% since 2008. Sanrio’s marketing strategy is to raise the sale revenues in the increasing market condition as well as to maintain our loyal customers and attract more male customers; Sanrio will create different kinds of images of products to fit into different range of age, and repackage the old neutral characters such as Badtz-Maru (a male penguin), Keroppi(a frog), Shinkansen...

Words: 3792 - Pages: 16

Free Essay

Interview with Ned Kelly

...Ned Kelly is an infamous bushranger from Australia who is considered by some to be merely a cold-blooded killer and thief, while others consider him to be a hero. What is Ned Kelly is he a villain or hero? This interview will give young Ned another shot to prove himself right. Interviewer: Hello and welcome to news at when, when 1879.we are joined by the famous Ned Kelly himself. How are you Ned? Ned Kelly: Fine, thank you Interviewer: So please tell us Ned where and when you born? Ned Kelly: I was born in a shrub not far off Melbourne. Interviewer: How did you feel when your father died? Ned Kelly: It was a real sad moment knowing that there is absolutely no one to give you money to support the family with seven children and losing a member of the family. Interviewer: What were your emotions when returning from jail in 1874? Ned Kelly: Well there was mixed emotions rushing inside me first I was shocked then scared then sad. I realized that my dear sister had passed away ,my other sister married and my mum on the verge of getting married to some strange man I haven’t met .My world had gone up side down but I had to adapt to the new changes Interviewer: What were your intentions when saving the drowning boy? Ned Kelly: I wasn’t just doing so I would get a good name anyone would do that if they so someone dying. Interviewer: Why did you love horses so much? Ned Kelly: I loved my horses dearly because there were pretty my only friends growing up. Riding them made all...

Words: 461 - Pages: 2

Free Essay

Writing a Profile: My Friend Jenna

...number. I knock with force three times, and wait patiently. After about ten quick seconds, the door flies open and startles me a little. “Hey! Sorry my room is a little bit messy, I was gone all weekend, and I got back not too long ago” Jennah says. I explain to her that I totally understand, as I was gone all weekend too. I look past her a little bit as I am entering her dorm room. It is a little bit plain, and not equipped with much. As I look to my left at her bed, I do notice something that catches my interest: a Hello Kitty bed comforter. “No way! Jennah, I adore your comforter” I say excitedly. “Hello Kitty is the bomb” she agrees. I am not surprised at the fact that she has a comforter with a character popular among young elementary-aged girls. For the week that I’ve known her, she seemed very free-spirited, and young at heart. I observe her outfit and see something I, for some reason, did not notice when I first entered. She was wearing a Hello Kitty t-shirt. Accommodating her shirt was a pair of black cut-off shorts that looked like she may have chopped them into shorts herself. She was also wearing a necklace with a small metal skull, and few black and white rubber bracelets. The two most prominent things about her, however, were the two lip piercings (known as snake bites), and the blue shoulder-length hair. “So yeah, this is my dorm!” she exclaims in a uniquely...

Words: 1255 - Pages: 6

Premium Essay

Hello

...Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you? Hello how are you?...

Words: 1513 - Pages: 7

Premium Essay

Hello

...Hello. Skdjfhkd skjedfhwkeihf weijfo iej r oliejr oihe o ljfoijwefwlejhflkhl ksdhjfohefl f f f f f ff f f f f f f f f f f f f f f f f f f f f f f f f f f Jkhgfaegiu 2cpujr v Ri p3r v43ri pvo4t rvip4ujtoih4oithj ovi4tujh3oi4ujt v 4ihrjoi4jh tvoi43thuo4utjhoi4ujtroi rijgf lq I qo3i4ht oq 34 43rj34 tqj4toi4jflajernolifj 4 rtqlerjq rt q4t Qiuwh3r jriejn rjroemn eojr eorj jf ek iej eojf oiej p u32rj q erj vnurunfumql v ijrfnid r r r r r r r r r r rr Rhqikh4r rjh r 3 rrjru the the the the the the th e e beb ebe be be be be be be gebe bebe eb ebeb c ehy vjbnfbn kqwheruh werbkqer43r\\\\ Thast is all she wrote . Sejhkjehf c rhfieu oihef Just writin ghtis gortri vhjr hqrkth ijto3ihjt Hrfiuhrtnufjrtui frjfurn fhfurnvir fhello hello heloo hello hello hello hello Ejhue r r rh curnfur rjru rthe thet the the the theht eht a a a a a a a a a a a aa a a a a a a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Words: 252 - Pages: 2

Free Essay

Hello

...Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel Hello Hello Hel...

Words: 384 - Pages: 2

Premium Essay

Hello

...Hey hi hello First use Hello, with that spelling, was used in publications as early as 1833. These include an 1833 American book called The Sketches and Eccentricities of Col. David Crockett, of West Tennessee,[2] which was reprinted that same year in The London Literary Gazette.[3] The word was extensively used in literature by the 1860s.[4] Etymology According to the Oxford English Dictionary, hello is an alteration of hallo, hollo,[5] which came from Old High German "halâ, holâ, emphatic imperative of halôn, holôn to fetch, used especially in hailing a ferryman."[6] It also connects the development of hello to the influence of an earlier form, holla, whose origin is in the French holà (roughly, 'whoa there!', from French là 'there').[7] As in addition to hello, halloo,[8] hallo, hollo, hullo and (rarely) hillo also exist as variants or related words, the word can be spelt using any of all five vowels.[citation needed] Telephone The use of hello as a telephone greeting has been credited to Thomas Edison; according to one source, he expressed his surprise with a misheard Hullo.[9] Alexander Graham Bell initially used Ahoy (as used on ships) as a telephone greeting.[10][11] However, in 1877, Edison wrote to T.B.A. David, the president of the Central District and Printing Telegraph Company of Pittsburgh: Friend David, I do not think we shall need a call bell as Hello! can be heard 10 to 20 feet away. What you think? Edison - P.S. first cost of sender & receiver to...

Words: 288 - Pages: 2

Free Essay

Hello

...Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello kjwdkjajkdwdjkdkjdjkawdjawdjkwjkdwakjdajwdjwkdjwkadjdwkjw Hello ...

Words: 729 - Pages: 3

Free Essay

Hello

...Hello world Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to you Hello to...

Words: 275 - Pages: 2