INPUT ARTICLE: Article: " Within your Photoshop document, click on the text tool that looks like a capital "T" in the tools palette. Click on the layer of the text you want to justify in the layers panel. Then, select the text tool by clicking the T in the tool menu or pressing the "T" shortcut. You can choose either the horizontal Type tool or the Vertical Type tool. View the Paragraph panel by clicking the A icon or going to the windows menu and clicking "Paragraph." You can also click on the Paragraph panel tab if the panel is visible, but it's not active. You can use the up and down arrows or you can edit the value directly in the text box. Press enter or return to apply a value when you edit a value directly. Press shift plus enter or shift plus return to apply a value and highlight the value just edited or press tab to apply a value and move to the next text box in the panel. Then click on the text you want to edit, which should make a box appear around the text.

SUMMARY: Click on the "text tool. Set options with numeric values in the Paragraph panel.

In one sentence, describe what the following article is about: Locate the least tangled end of the slinky and put four of your fingers through its center. Keep your thumb on the outside of the loop, so you can grip the end of the slinky and hold it in place. Extra-long slinkies might be easier to untangle if you keep the "good" part over your arm, or over a cardboard paper towel tube. Run your first finger and thumb along the slinky, approaching the first tangled area next to the end you're holding. The "good" end of the slinky will collect in a neat stack around your fingers. Slow down as you approach the tangled area and look closely, so you can see exactly where the slinky goes next. Pull the Slinky's tangled area apart if necessary to get a better view. Take the "good" slinky off your hand, and hold it so it stays in a neat stack. Turn the stack at an angle and fit it through a gap in the next tangle, so it joins the next length of slinky where your finger and thumb followed it. Once it's through, put the neat stack back on your fingers. Sometimes, it's easier to hold the stack in place and lift the next loop of the tangle over and around the end of the stack. If you notice a part of the slinky that's bending in completely the wrong direction, or even looks like its about to snap, try rotating the two tangled areas that are crossing each other. Once the area is under less pressure, you can safely pull apart a gap and move the neat end of the slinky through it, as described above. Continue following the slinky and collecting it on your hand. Whenever you see a tangle, use the techniques above to get through it.
Summary: Put one end of the slinky over your fingers. Move your finger and thumb along the edge of the slinky. Find out where the slinky continues through the tangle. Carefully push the end of the slinky through the tangle. Rotate the slinky at severe bends. Repeat until untangled.

INPUT ARTICLE: 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.