Problem: Article: In general, body sprays have a very strong scent. By applying the spray only once per day, you can avoid overloading your senses, and the senses of the people around you. You also want to avoid over spraying since there may be negative health effects associated with using body sprays excessively. The only exception is if you plan to exercise or engage in sports or another physical activity that will cause you to perspire. If this is you, then you may re-apply the body spray after the physical activity.
Summary: Apply the spray once per day.

Problem: Article: When people come in, you'll want to start by welcoming them to your home. Don't just ignore them or rush off to talk to someone else, even if the party is informal. This can leave your guest feeling unwelcome and neglected. Even just saying something simple like "Aw, I'm so happy you came. Make yourself at home." can be enough. If you have the time to, show them around the areas where the party is happening. They don't need a tour of your knickknacks but pointing out where the bathroom is and where they can find the food is useful. You also might want to tell them where they can put things, what some of the basic house rules are (such as if shoes aren't allowed in a room), and so on. A good host will introduce people that don't know each other and try to help them communicate with each other. You want to get a conversation started before you move on to talk to other people. For example, if you know two people both like the same musician, you can say something like "Oh, Becca, you'll appreciate this: Julie just got back from a Macklemore show in Seattle. Julie, Becca is just obsessed with Macklemore." As the party goes on, try to talk to and interact with everyone. You probably will have a few people that you're closer with than others and you might be tempted to just talk to them all night, but that can leave other guests feeling left out. Try to at least check on everyone every now and again, even if it's just to offer them more to drink. Try to ask at least one question of each guest over the course of the party. This shows them that you take an interest in them and that you care about their presence. Once the party wraps up, say goodbye to people as they leave and thank them for coming. This makes people feel appreciated and respected. Neglecting to say goodbye can hurt people's feelings and ruin their perception of your party (even if they had an otherwise good time).
Summary: Welcome people to your home. Show them around. Introduce people to each other. Make everyone feel included. Send them off at the end of the party.

Problem: Article: In our Hello World program, we printed out a string for the user to see, but the interactive part of programs is when the user gets to enter input into the program. We will now extend our program to prompt the user for his or her name and then greet the user by his or her name. In Java, we have some built in libraries that we have access to, but we have to import them. One of these libraries is java.util, which contains the Scanner object that we need to get user input. In order to import the Scanner class, we add the following line to the beginning of our code.   import java.util.Scanner;    This tells our program that we want to use the Scanner object which exists in the package java.util. If we wanted to have access to every object in the java.util package, we simply write import java.util.*; at the beginning of our code. Java is an object-oriented programming language, so it represents concepts using objects. The Scanner object is an example of an object that has fields and methods. In order to use the Scanner class, we have to create a new Scanner object that we can populate the fields of and use the methods of. To do this, we write:   Scanner userInputScanner = new Scanner(System.in);     userInputScanner is the name of the Scanner object that we just instantiated. Note that the name is written in camel case; this is the convention for naming variables in Java. We use the new operator to create a new instance of an object. So, in this instance, we created a new instance of the Scanner object by writing new Scanner(System.in). The Scanner object takes in a parameter that tells the object what to scan. In this case, we put in System.in as a parameter. System.in tells the program to scan the input from the system, which is the input that the user will type into the program. We have to prompt the user for an input so that the user knows when to type something into the console. This can be accomplished with a System.out.print or a System.out.println.   System.out.print("What's your name? "); The Scanner will always be taking in data on what the user is typing in. The following line will ask the Scanner to take what the user has typed in for his or her name and store it in a variable:   String userInputName = userInputScanner.nextLine();    In Java, the convention for using an object's method is objectName.methodName(parameters). In userInputScanner.nextLine(), we are calling our Scanner object by the name we just gave it and then we are calling its method nextLine() which does not take in any parameters. Note that we are storing the next line in another object: the String object. We have named our String object userInputName Now that we have the user's name stored, we can print out a greeting to the user. Remember the System.out.println("Hello World."); that we wrote in the main class? All of the code that we just wrote should go above that line. Now we can modify that line to say:   System.out.println("Hello " + userInputName + "!");    The way we chained up "Hello ", the user's name, and "!" by writing "Hello " + userInputName + "!" is called String concatenation. What's happening here is that we have three strings: "Hello ", userInputName, and "!". Strings in Java are immutable, which means that they cannot be changed. So when we are concatenating these three strings, we are essentially created a new string that contains the greeting. Then we take this new string and feed it as a parameter to System.out.println. Our code should now look like this:   import java.util.Scanner;  public class HelloWorld {     public static void main(String[] args) {         Scanner userInputScanner = new Scanner(System.in);         System.out.print("What's your name? ");         String userInputName = userInputScanner.nextLine();         System.out.println("Hello " + userInputName + "!");     } } Go into command prompt or terminal and run the same commands as we ran for our first iteration of HelloWorld.java. We have to first compile the program: javac HelloWorld.java. Then we can run it: java HelloWorld.
Summary:
We will now extend our Hello World program to take input from the user. Import the Scanner class. Inside our main method, instantiate a new instance of the Scanner object. Prompt the user for an input. Ask the Scanner object to take in the next line that the user types in and store that in a variable. Print out a greeting to the user. Put it all together and save. Compile and run.