Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 0 additions & 135 deletions README.md

This file was deleted.

Binary file modified bin/App.class
Binary file not shown.
Empty file added page.html
Empty file.
Binary file added src/App.class
Binary file not shown.
28 changes: 26 additions & 2 deletions src/App.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@

import java.util.Scanner;

public class App {
public static void main(String[] args) throws Exception {
System.out.println("Hello, World!");
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Enter first number: ");
int firstNum = scanner.nextInt();
System.out.println("Enter second number: ");
int secondNum=scanner.nextInt();
scanner.close();
System.out.println("the first number= "+firstNum+" the second number= "+secondNum);
if (firstNum>secondNum) {
System.out.println("the maximum is the first number ="+firstNum);
} else if (firstNum< secondNum) {
System.out.println("the maxiemum is the second number= " +secondNum);
} else {
System.out.println("the fist number equal the second number");
System.out.println(" _____ A M M _____ ");
System.out.println(" / ____| AA MM MM | ___|");
System.out.println("| (___ A A MMMMMM |___ ");
System.out.println(" \\___\\ AAAAA M M M M | ___|");
System.out.println(" ____) | A A M M | |___ ");
System.out.println("|_____/ A A M M |_____|");


}
}
}