Skip to content

Commit

Permalink
feat(2.5.2): finished
Browse files Browse the repository at this point in the history
  • Loading branch information
101zh authored Sep 26, 2023
1 parent 602f82e commit 7c667d8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/java/U2_L5_Activity_Two.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// /* Lesson 5 Coding Activity Question 2 */

// import java.util.Scanner;
// import shapes.*;

// public class U2_L5_Activity_Two
// {
// public static void main(String[] args)
// {
// Scanner scanner = new Scanner(System.in);

// System.out.println("Type a number for length and width:");
// Double sidelen=scanner.nextDouble();
// System.out.println("Type a length:");
// Double len = scanner.nextDouble();
// System.out.println("Type a width:");
// Double wid = scanner.nextDouble();
// Rectangle rect1 = new Rectangle(sidelen);
// Rectangle rect2 = new Rectangle(len, wid);
// System.out.println(rect1);
// System.out.println(rect2);

// }
// }

0 comments on commit 7c667d8

Please sign in to comment.