answersLogoWhite

0

#include<iostream>

using namespace std;

int main()

{

int t1;

int t2;

char a;

char p;

cout << "enter two numbers for example 0930 for 9:00 !" << endl;

cin >> t1;

cout << "enter number two" << endl;

cin >> t2;

cout >> "totel amount of hours are">>h>>endl;

system("PAUSE");

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you convert 245 pm to 24 hour time?

Add on 12 so = 14:45 hours


Convert 3.15am to 24 hour time?

03:15am is the same in 24 hour time. And pm you need to add 12. For example 3.15pm would be 15.15


how do you read army time into real-time?

Convert military time by subtracting 12 hours, if the time is larger than 12:00, to get the 24 hour (standard time), then add “pm”.


What is 1215 pm plus 45 minutes?

To calculate 12:15 PM plus 45 minutes, you first convert 12:15 PM to a 24-hour format, which is 12:15. Then, you add 45 minutes to get 12:15 + 45 minutes = 13:00, which is 1:00 PM in the 12-hour clock format. So, 12:15 PM plus 45 minutes is 1:00 PM.


How do you convert 25 minutes in a hour?

8/12 hr=


How do you convert 13 into time?

13, as in 1300 hours? That's 1 pm on the 24 hour clock (easy conversion, if the time is larger than 1200, subtract 1200 to get the time equivalent on the 12 hour clock)


What time is 1500 on the 12 hour clock?

1500 hours on a 12-hour clock is 3:00 PM. To convert from military time, you subtract 1200 from any time over 1200. Therefore, 1500 minus 1200 equals 300, which is 3:00 PM.


What is 6 o'clock plus twelve?

6:12 or if you mean the hour plus 12 it would be 6


What is 0010 in 12-hour time?

0010 in 12-hour time is 12:10 AM. It is the same time as 0010 in military time but expressed in the morning hours in the 12-hour clock system.


How do you convert military 2152 hours to 12 clock?

It is 9:52 PM. Here's how:For military time, the left two digits are the hour, and the right two digits are the minutes. It is based on a 24 hour clock, so hour 0000 represents midnight and anything 0001 - 0059 is 12:01 AM to 12:59 AM. The hours 01 through 11 will convert to the same time (AM). At 1200 is noon, so 1201 - 1259 is 12:01 PM - 12:59 PM. After that, you must subtract 12 from the hour number, to get the hour on a 12 hour clock (and it will be PM). So 1 hour after noon is 1:00 PM, but the equivalent military time is 1300.So 21 is greater than 12, so subtract 12: 21 - 12 = 9. Since it's greater than 12, it's PM. The minutes are still the same, so 9:52 PM.


Convert 216watts to Ampere Hour?

You can not convert Watts (Power) to Ampere-Hours (Amount of charge)!!! Exept if you know the voltage and the amount of time you use the power. For example: If you use P=216 W from a battery of V=12 Volts for t=1 hour, that would be: Current I=P/V=216/12=18 Amperes In time of 1 hour, you will take Q=I*t=18 Ampere-Hours from the 12 Volts battery.


What is hours in military time?

If the time is below 12, eg, 1100 hours, you do not need to convert, just add AM - 1100 hours is 11:00 AM If the time is above 12, you need to subtract 12 and add PM - 2100 hours &gt; (21-12=9) = 9:00 PM.