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
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,20 +119,21 @@ var data = "2017/6/25"

## java
```
public class EidGreeting{

public static void main(String [] args){

Scanner enter=new Scanner(System.in);
System.out.println(" Enter today's date : ");
String date=enter.next();

if(date.equals("25/6/2017")){
System.out.println("happy Eid");
}

else if(date.equals("23/8/2017")){
System.out.println("happy Eid");
}
else{
System.out.println(" there is no Eid ");
System.out.println("happy Eid 😎");
}else{
System.out.println(" there is no Eid 😢, You have to work hrad agine):");
}
     }
}
//@rehabalhasan
```

Expand Down