how i can write java programme like this

out put

Enter the number of minutes:1000000000
1000000000 minutes is approximately 1902 years
and 214 days

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"

Post what you have done so far and someone will help you from there.