Compare commits

..

No commits in common. "232e2bf47fd032585a594b5de892bd36d2413be6" and "8fd2eac4d3a50c1a8a65cb9d440557466a2e8b87" have entirely different histories.

4 changed files with 0 additions and 38 deletions

Binary file not shown.

View File

@ -1,26 +0,0 @@
import java.util.Scanner;
public class first{
public static void main(String[] args) {
int test1;
int test2;
double radius;
System.out.println("Test Data:");
System.out.println("a. "+(-5 + 8 * 6));
System.out.println("b. "+ ((55+9) % 9));
System.out.println("c. "+ (20 + -3*5 / 8));
System.out.println("d. "+ (5 + 15 / 3 * 2 - 8 % 3));
Scanner scan = new Scanner(System.in);
System.out.println("Enter integer 1");
test1 = scan.nextInt();
System.out.println("Enter integer 2");
test2 = scan.nextInt();
System.out.println("The PRODUCT of two integer: "+ (test1*test2));
System.out.println("Enter radius of a circle! (pi taken as 3!)");
radius = scan.nextDouble();
System.out.println("The area of circle: "+(3*radius*radius)+"\nThe perimeter of circle: "+(2*3*radius));
}
}

Binary file not shown.

View File

@ -1,12 +0,0 @@
import java.util.Scanner;
public class helloworld {
public static void main(String[] args) {
String test;
Scanner scan = new Scanner(System.in);
System.out.println("ENTER A TEXT!");
test = scan.nextLine();
System.out.println("You entered\n" + test);
int result = 50;
System.out.println("Hello, World!");
}
}