Turbo C help! Convert number of minutes to hours, how?
90440
int main()\n{\nint minutes,hours;\nprintf("Enter the number of minutes /n");\nscanf("%d",&minutes);\n\nhours=minutes%60;\nminutes=minutes-(60*hours);\n\nprintf("Time is %d hours and %d minutes",hours,minutes);\n}
718295
It is on your last grade card.  Multiply your hours times your grade value, add them all up, then divide the total by the total number of hours taken.\n\nA = 4\n\nB = 3\n\nC = 2\n\nD = 1 \n\nF = 0
339526
60 seconds in minute\n60 minutes in an hour\n\nTherefore, 3600 seconds in an hour
168473
2 3/4 hours = 2:45\n10:50 +2:45 = 12 :95 = 13:35 = 1:35 pm
1089325
Subtract 1 hour from ET.
1176830
well 3hrs 20 minutes is converted just like you do 3hrs 30 minutes. 20 divided 60 = .33 so it would be 3.33 hrs
997236
10 minutes + 10:50 = 11 o'clock\n \n\n\n\n--- LeeeN
877880
50:4000=\n1:80 - -answer
325281
OK, this is a simple unit conversion problem, buddy. First, get your measurements into similar units: in this case, change your minutes into hours (1 hr/60 min). You'll end up with.\n\n(40 km/h * .5 h) + (60 km/h * .25 h)\n\nThe hours will cancel out, and you'll be left with the kilometers.\n\n20 km + 15 km = 35 km\n\nIn this instance, the direction of travel doesn't matter: the question asks the distance traveled, not how far away from the point of origin you are.
1092752
Try boost.org\n\nBoost.Date_Time
401014
What you need to do is enter the beginning time and ending time in 2 different cells.  Highlight all the cells that include time and click Format in the standard toolbar.  Then click Cells, when the window opens select the Format tab and chose the Time option in the right.   Select the time format that works best for you and click OK.  Then type the formula and make sure that that cell is also formatted as a time type cell.  If you are just calculating how long people are working a simple B-A forum la would help.
463155
6000 seconds\n6000 seconds = 6000/60 minutes = 100 minutes\n100 minutes = 1 hour, 40 minutes
628315
The time that you have is not a time but is a string.\nUse the time() function.\nie. time(9,15,0)
325793
As per my timecard cheat sheet:\n\n0-3 min = .0\n4-9 min = .1\n10-15 min = .2\n16-21 min = .3\n22-27 min = .4\n28-33 min =.5\n34-39 min = .6\n40-45 min = .7\n52-57 min = .8\n58-60 min = .9\n\nThese are only for a tenths system, however if your system goes to hundreths it maybe slightly different.  The best way for you to know for sure is check if your place of employment has a policy on this.
894151
I think the way to approach this is to minimize the number of remaining (that is, unused) hours to zero.\n\nJob B jobs must be multiple of 10, e.g. 10 jobs = 7 hours exactly (no remainder). \n\nJob C jobs must be multiple of 5, e.g. 5 jobs = 127 hours exactly (no remainder).\n\nUsing this approach, if you did 60 jobs B and 10 jobs C, the hours = 60 * .7 = 42 hours + 10 * 25.4 = 254 hours, total = 296 hours exactly (no remainder).\n\nThis would yield a revenue of $10,465.24 \n\nWrong!\n\nHmmm - (I'm doing this in Excel with columns labeled:\n# of B jobs, # of C jobs, B hours, C hours, total hours, $B/hr, $C/hr, $B, $C, $total; then keeping total hours <= 296, what is max $total)\n\nBest answers using Excel:\n# of B jobs, # of C jobs, B hours, C hours, total exact hours, $B/hr, $C/hr, $B, $C, $total\n\n0,11,0.000,279.4,279.400,$35.51 $35.33 $0.00 $9,871.20 $9,871.20 all C\n\n422,0,295.400,0,295.400,$35.51 $35.33 $10,489.65 $0.00 $10,489.65 all B\n\n386,1,270.200,25.4,295.600,$35.51 $35.33 $9,594.80 $897.38 $10,492.18 \n\n23,11,16.100,279.4,295.500,$35.51 $35.33 $571.71 $9,871.20 $10,442.91 \n\n350,2,245.000,50.8,295.800,$35.51 $35.33 $8,699.95 $1,794.76 $10,494.71 \n\n314,3,219.800,76.2,296.000,$35.51 $35.33 $7,805.10 $2,692.15 $10,497.24 optimum\n\n277,4,193.900,101.6,295.500,$35.51 $35.33 $6,885.39 $3,589.53 $10,474.92 \n\n241,5,168.700,127,295.700,$35.51 $35.33 $5,990.54 $4,486.91 $10,477.45 \n\n60,10,42.000,254,296.000,$35.51 $35.33 $1,491.42 $8,973.82 $10,465.24 \n\nLooks like 314 B jobs and 3 C jobs win!\n\nI'm not sure how to put this in an optimization formula...\n\nHope this helps!
800542
You could use GetTickCount\n\n'Put this in a module\nDeclare Function GetTickCount Lib "kernel32" () As Long\n\n'Use something like this in a form\nDim starttime As Long\nDim endtime As Long\n\nPrivate Sub CommandButton1_Click()\n\nstarttime = GetTickCount()\nEnd Sub\n\nPrivate Sub CommandButton2_Click()\nendtime = GetTickCount()\n\nMsgBox (endtime - starttime) / 1000 & " secs"\n\nEnd Sub
229057
15 minutes past the hour of 2