import java.util.*;
public class TestOne
{
public static void main()
{
Scanner myScreen = new
Scanner(System.in);
System.out.println("enter a
number");
int numberIn =
myScreen.nextInt();
int newNumber =
add3(numberIn);
System.out.println(newNumber);
System.out.println("enter a
word");
String wordOne =
myScreen.next();
System.out.println("enter
another word");
String wordTwo =
myScreen.next();
System.out.println(wordOne);
System.out.println(wordTwo);
String bothWords =
wordMerge("abc","def");
System.out.println(bothWords);
}
public static int add3(int number)
{
return number+3;
}
public static String wordMerge(String first, String
second)
{
return first+second;
}
}