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 CircleArea { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| double radius = input.nextDouble(); | |
| double area = Area(radius); | |
| System.out.println(area); |
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 LargestArray { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int variables = input.nextInt(); | |
| int[] a = new int[variables]; | |
| for (int i = 0; i < a.length; i++) { |
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 MultipleInt { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int a = input.nextInt(); | |
| int b = input.nextInt(); | |
| boolean c = multipleNumber(a,b); | |
| System.out.println(c); |
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 AreEqual { | |
| public static void main(String [] args) { | |
| int variable; | |
| Scanner input = new Scanner(System.in); | |
| int variables = input.nextInt(); | |
| int[] array1 = new int[variables]; | |
| int[] array2 = new int[variables]; |
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 MergeArrays { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int variables = input.nextInt(); | |
| int[] array1 = new int[variables]; | |
| int[] array2 = new int[variables]; |
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 ReverseArray { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int variables = input.nextInt(); | |
| int[] array1 = new int[variables]; | |
| for (int i = 0; i < array1.length; i++) { |
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 Fibonacci { | |
| public static void main (String [] args) { | |
| long f = 0; | |
| long n = 1; | |
| Scanner input = new Scanner(System.in); | |
| System.out.println("Please enter the index number you would like to print"); |
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; | |
| import java.io.*; | |
| import java.text.DecimalFormat; | |
| public class FinancialManagement { | |
| public static void main(String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| double[] money; | |
| money = new double[12]; |
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.io.*; | |
| import java.util.Scanner; | |
| public class TraversingGrid { | |
| public static void main (String [] args) { | |
| Scanner input = new Scanner(System.in); | |
| int casos = 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.io.*; | |
| import java.util.Scanner; | |
| public class Sum { | |
| public static void main(String [] args) { | |
| Scanner scan = new Scanner(System.in); | |
| int n; | |
| int temp=0; |