I completed the task, thats not what i need help with
I need help if i want the program to take more variables in consideration.
Im stuck mentally.
I want the program to stop users from buying tickets for less than one day and less than one ride.
I want the program to give the best price for the amount of days by summaries the numOfDays into months, weeks and days. 38 days should become one 30-day unlimited, one 7-day unlimited and one day. After doing this i want the program to return a string with the information.
“You are buying tickets for x numOfDays, the best option for you would be x,x,x” where the program only prints the valid field. Not 0 months, 0 weeks.
I want the program to give the best option for customer who doesnt know the amount of rides they are taking. I guess this will be sorted in 2.
Im not sure if i cant solved 2 and 3 with if statements, for statements, arrays and for each statements or a mix or those.
Help would be appreciated