Write a program that declares three integers (n1, n2, and n3) and then print them in order (the smallest one first). Make sure that your program works for all possible initial orderings. Assume that all three integers are different. Write down in comments what data you used to test your program.
Write a program that declares an integer n and a string and prints the substring of the string that is n characters long. If n is larger than the length of the string, the entire string is printed. If n is negative or 0, an empty string is printed. Here are some examples:
Write a program that declares a string and a character (as Java type char) and prints "Yes" if the string contains the character and "No" if it doesn't.
Submit your Java file(s) to me by e-mail. The subject must be Problem Set N, where N is the problem set number.