case 1: printf("Please enter the selected time of leaving school.\n");
printf("Please enter in the time you would like to leave school at.\n"); // let user type in the time
printf("Example : 2.00,3.30,6.30.\n");
scanf("%f", &leavingtime); // store the time user leave school
time27=leavingtime+WaitingTime[j]+BUS27;
printf("Predicted time to reach home when taking bus 27 is :%.2fPm\n",time27); // calculate the time to reach home for bus 27
time45=leavingtime+WaitingTime[j]+BUS45;
printf("Predicted time to reach home when taking bus 45 is :%.2fPm\n",time45); // calculate the time to reach home for bus 45
time46=leavingtime+WaitingTime[j]+BUS46;
printf("Predicted time to reach home when taking bus 46 is :%.2fPm\n",time46); // calculate the time to reach home for bus 46
time69=leavingtime+WaitingTime[j]+BUS69;
printf("Predicted time to reach home when taking bus 69 is :%.2fPm\n",time69); // calculate the time to reach home for bus 69 *EXTRA
printf("\n\n");
break;