Write a code for the following C++ problem. We will have a user that will be asked to input the time of a train traveling in terms of minutes and this minutes is a non-negative integer. In addition, the program must ask the user to input the speed of the train in miles per hours and this is also an integer as well. We also need the program to change the minutes into the following: years, days, hours, minutes. The code must output results.