Skip to content
Open
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
31 changes: 31 additions & 0 deletions Fatima Allaw- level-1.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import java.util.Scanner;

public class lampo{
public static void main(String[] args) {

Scanner sc= new Scanner (System.in);
System.out.print(" add the first Number ");
int n1= sc.nextInt();
System.out.println(" ");
System.out.print(" add the second Number ");
int n2= sc.nextInt();

if (n1>n2){
System.out.println(" first number is bigger ");

}

else if (n1<n2){
System.out.println(" second number is bigger ");

}

else {
System.out.println(" they're equals ");

}


}

}