Code is copied!
A broadband provider is trying to calculate difference between the login time and logout time. The time is in 12 hours format. A system is designed to calculate difference (in hrs and min) and total amount in rupees. The charge in rupee 0.16/min Sample input Login time 2:35 PM Logout time 3:35 PM SAMPLE OUTPUT TOTAL TIME 1 HRS 0 MIN YOUR AMOUNT RS 9.5 SAMPLE INPUT LOGIN TIME 10:35 AM LOGOUT TIME 2:50 PM SAMPLE OUTPUT TOTAL TIME 4 HRS 15 MIN YOUR AMOUNT RS 40.8 INPUT LOGIN TIME AND LOGOUT TIME AND CALCULATE DIFFERENCE TIME AMOUNT TO BE PAID. TEST YOUR PROGRAM FOR ABOVE DATA. THE INPUT WILL BE IN THE ABOVR FORMAT ONLY. NOTE ASUME THAT DIFFERENCE BETWEEN THE TIMES CANNOT BE MORE THAN 24 HRS