check the link i commented
Lol. 8 seconds difference b/w you giving link and him asking later.
1 Like
Please write code in java.
understand the code and write that yourself, you’ll learn better