This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Andres Rodriguez A01193126, Hector Carpizo A01193092 | |
| import java.util.Scanner; | |
| public class StudentsGrades { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| String[] arraynames = Names(); | |
| int[] arraygrades = Grades(arraynames); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class MaxValue { | |
| public static void main(String []args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| int[][] a = new int[positions][positions]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class InitializedNArray { | |
| public static void main(String []args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class Array2or4 { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| int[] myarray = new int[positions]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class TripleNumArray { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| int[] myarray = new int[positions]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class SumArray13 { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| int[] myarray = new int[positions]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class ShiftLeftArray { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int positions = input.nextInt(); | |
| int[] myarray = new int[positions]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class UpToLowCase{ | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); | |
| String upper = input.nextln(); | |
| String lower = ToLowCase(upper); | |
| System.out.println(lower); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| public class AppMonth{ | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); | |
| int n = input.nextInt(); | |
| String month = MonthName(n); | |
| System.out.println(month); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void Asterisks(int n) { | |
| String x = "*"; | |
| for(int y = 1; y < n; y++){ | |
| x = x + " *"; | |
| } | |
| for (int z = 0; z < n; z++){ | |
| System.out.println(x); | |
| } | |
| } |