Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix issue fork-commit-merge#1516

easy peasy :)
  • Loading branch information
DongJu-Na committed Feb 4, 2024
1 parent e7942e2 commit 5425474
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/java/easy/GreetingApp.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
// Java - Easy

import java.util.Scanner;

public class GreetingApp {

public static void main(String[] args) {
// TODO: Implement a Simple Greeting Application
Scanner scanner = new Scanner(System.in);
System.out.print("Enter your name: ");
String name = scanner.nextLine();
System.out.println("Hello, " + name + "! Nice to meet you!");
scanner.close();
}
}

0 comments on commit 5425474

Please sign in to comment.